broulik created this revision. broulik added a reviewer: Plasma. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. broulik requested review of this revision.
REVISION SUMMARY Saves some cycles TEST PLAN Saves like 0.6ms on startup here, given the amount of `Theme` objects created. `ThemePrivate` is also a `QObject`, I don't understand why it checks for `qApp` or why it's not done in the `Private`'s constructor though.. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D18356 AFFECTED FILES src/plasma/theme.cpp To: broulik, #plasma Cc: kde-frameworks-devel, michaelh, ngraham, bruns