mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
kwin/mobiletaskswitcher: Ensure DBus calls do not block
This commit is contained in:
parent
28a780a7d3
commit
aa820d4886
1 changed files with 1 additions and 1 deletions
|
|
@ -263,6 +263,6 @@ void MobileTaskSwitcherEffect::setDBusState(bool active)
|
||||||
QStringLiteral("org.kde.plasmashell"),
|
QStringLiteral("org.kde.plasmashell"),
|
||||||
QStringLiteral("setIsTaskSwitcherVisible"));
|
QStringLiteral("setIsTaskSwitcherVisible"));
|
||||||
request.setArguments({active});
|
request.setArguments({active});
|
||||||
const QDBusReply<bool> response = QDBusConnection::sessionBus().call(request);
|
const QDBusReply<bool> response = QDBusConnection::sessionBus().call(request, QDBus::NoBlock);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue