1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Fix setting fallback Breeze icon theme

:/icons is a default fallback theme search path
This commit is contained in:
David Rosca 2018-03-09 22:52:24 +01:00
parent 5c97a3abb5
commit a50eee896c
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
2 changed files with 1 additions and 2 deletions

View File

@ -123,7 +123,6 @@ MainApplication::MainApplication(int &argc, char** argv)
// Set fallback icon theme (eg. on Windows/Mac) // Set fallback icon theme (eg. on Windows/Mac)
if (QIcon::fromTheme(QSL("view-refresh")).isNull()) { if (QIcon::fromTheme(QSL("view-refresh")).isNull()) {
QIcon::setThemeSearchPaths(QStringList() << QL1S(":/breeze-fallback"));
QIcon::setThemeName(QSL("breeze-fallback")); QIcon::setThemeName(QSL("breeze-fallback"));
} }

View File

@ -1,5 +1,5 @@
<RCC> <RCC>
<qresource prefix="/breeze-fallback"> <qresource prefix="/icons">
<file>breeze-fallback/index.theme</file> <file>breeze-fallback/index.theme</file>
<file>breeze-fallback/16x16/bookmark-new.svg</file> <file>breeze-fallback/16x16/bookmark-new.svg</file>
<file>breeze-fallback/16x16/bookmarks-organize.svg</file> <file>breeze-fallback/16x16/bookmarks-organize.svg</file>