D5330: [QDBusMenuBar] Don't wait for (un)register call to finish
Kai Uwe Broulik
noreply at phabricator.kde.org
Fri Apr 7 10:21:21 UTC 2017
broulik created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
TEST PLAN
I still get menus in both KDE and Qt-only apps, we no loner spend 0.4ms blocking on startup. The initial check whether dbus menu is supported needs to be sync as the createPlatformMenuBar method needs to return a menu right away.
When we reparent the menu bar we do unregister and then register, is it guaranteed that these calls will arrive in order?
REPOSITORY
R135 Integration for Qt applications in Plasma
REVISION DETAIL
https://phabricator.kde.org/D5330
AFFECTED FILES
src/platformtheme/qdbusmenubar.cpp
To: broulik, #plasma
Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170407/9785761e/attachment.html>
More information about the Plasma-devel
mailing list