tooltip close button compatible with plasma 5.8

pull/1/head
Johan Smith Agudelo Rodriguez 8 years ago
parent 1acc88ff8c
commit f6081d93cf

@ -144,8 +144,11 @@ Column {
acceptedButtons: Qt.LeftButton
hoverEnabled: true
onClicked: {
backend.cancelHighlightWindows();
tasksModel.requestClose(submodelIndex);
//NOTE: compatibility with plasma 5.8
if (backend.cancelHighlightWindows)
backend.cancelHighlightWindows()
tasksModel.requestClose(submodelIndex)
}
onContainsMouseChanged: contentItem.checkMouseInside();

Loading…
Cancel
Save