mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-27 14:50:21 +03:00
tooltip close button compatible with plasma 5.8
This commit is contained in:
parent
601b3933b5
commit
f69d43a09c
@ -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…
x
Reference in New Issue
Block a user