<table><tr><td style="">mart created this revision.<br />mart added reviewers: Frameworks, Plasma.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />mart requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D22488">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>invoking QIcon::setFallbackThemeName at QCoreApplication ctor<br />
with Q_COREAPP_STARTUP_FUNCTION breaks the internal status of<br />
QIconLoader as it instantiates it before the QPlatformTheme,<br />
but QIconLoader depends from QPlatformTheme to be already instantiated<br />
otherwise it won't load correctly, thus breaking icon loading<br />
in QtQuickControls2 styles, such as Material and Fusion<br />
see <a href="https://bugreports.qt.io/browse/QTBUG-74252" class="remarkup-link" target="_blank" rel="noreferrer">https://bugreports.qt.io/browse/QTBUG-74252</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>icons load correctly in material,<br />
and the fallback to breeze works with gnome themes</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R302 KIconThemes</div></div></div><br /><div><strong>BRANCH</strong><div><div>phab/qqcicons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22488">https://phabricator.kde.org/D22488</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kicontheme.cpp</div></div></div><br /><div><strong>To: </strong>mart, Frameworks, Plasma<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns<br /></div>