D7344: [KHintsSettings] Update AA_DontShowIconsInMenus at runtime
David Edmundson
noreply at phabricator.kde.org
Wed Aug 16 13:07:54 UTC 2017
davidedmundson added inline comments.
INLINE COMMENTS
> khintssettings.cpp:357
> +{
> + bool showIcons = cg.readEntry("ShowIconsInMenuItems", !QApplication::testAttribute(Qt::AA_DontShowIconsInMenus));
> + QCoreApplication::setAttribute(Qt::AA_DontShowIconsInMenus, !showIcons);
If I do removeKey("ShowIconsInMenu") rather than explicitly setting it
then call settings changed, this will always remain on whatever it was before; rather than matching what the actual default should be.
REPOSITORY
R135 Integration for Qt applications in Plasma
REVISION DETAIL
https://phabricator.kde.org/D7344
To: broulik, #plasma
Cc: davidedmundson, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170816/7256a7e4/attachment.html>
More information about the Plasma-devel
mailing list