D29390: Respect QIcon::fallbackSearchpaths()
Nicolas Fella
noreply at phabricator.kde.org
Sun May 3 20:29:53 BST 2020
nicolasfella created this revision.
nicolasfella added reviewers: Plasma, Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
nicolasfella requested review of this revision.
REVISION SUMMARY
When an icon isn't found within a theme we are supposed to look for it in QIcon::fallbackSearchpaths() (https://doc.qt.io/qt-5/qicon.html#fromTheme).
BUG: 405522
TEST PLAN
Create /home/nico/foo.svg
Add QIcon::setFallbackSearchPaths(QIcon::fallbackSearchPaths() << QStringLiteral("/home/nico/myicons")); to my app
Use foo icon somewhere
REPOSITORY
R302 KIconThemes
BRANCH
fallback
REVISION DETAIL
https://phabricator.kde.org/D29390
AFFECTED FILES
src/kiconloader.cpp
To: nicolasfella, #plasma, #frameworks
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200503/92d8c66b/attachment.html>
More information about the Kde-frameworks-devel
mailing list