requestShowingDesktop is not Q_INVOKABLE

errors--
This commit is contained in:
Bhushan Shah 2016-08-25 13:05:43 +05:30
parent 4175765653
commit c81bed39bc

View file

@ -69,7 +69,7 @@ PlasmaCore.ColorScope {
if (taskSwitcher.visibility == Window.Hidden && taskSwitcher.offset > -taskSwitcher.height + units.gridUnit && taskSwitcher.tasksCount) {
taskSwitcher.visible = true;
}
plasmoid.nativeInterface.requestShowingDesktop(true);
plasmoid.nativeInterface.showDesktop = true;
}
onReleased: {
if (!isDragging) {