Make sure we don't override QIcon::themeName when we should not

Authored by apol on Dec 28 2018, 3:56 AM.

Description

Make sure we don't override QIcon::themeName when we should not

Summary:
KirigamiPlugin is lives in a separate thread than QApplication and themeName initialization is a race condition.
This way at least we limit the initialisation to non-linux desktop systems.

Test Plan: Now kalgebramobile and kirigamigallery show the icons on my system

Reviewers: Kirigami, mart

Reviewed By: Kirigami, mart

Subscribers: plasma-devel

Tags: Kirigami

Differential Revision: https://phabricator.kde.org/D17829

Details

Committed
apolJan 3 2019, 4:57 PM
Reviewer
Kirigami
Differential Revision
D17829: Make sure we don't override QIcon::themeName when we should not
Parents
R169:cf1d156fbe20: Fix warning about == vs === signaled by qtcreator
Branches
Unknown
Tags
Unknown