]> cloud.milkyroute.net Git - dolphin.git/commit
Fix knewstuff popup menu position on wayland
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Wed, 12 Jul 2017 10:33:54 +0000 (12:33 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Thu, 13 Jul 2017 15:30:36 +0000 (17:30 +0200)
commit69c3eba0ad5fe3bc4dec40c2eea4f336c0d7eea9
tree1f3188c97a945d99fdd6595fb2dd997de40683cf
parentaa771da32d63d2fa7db93066fa3d42d7026ec9a4
Fix knewstuff popup menu position on wayland

On Wayland we need to pass a parent to popup menus.
See https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Popup_Menus

So we use the new setParentWidget() method from KNewStuff (introduced in
Frameworks 5.37).
src/statusbar/statusbarspaceinfo.cpp