Commit 289700b2 authored by Vincent Pinon's avatar Vincent Pinon
Browse files

Load RCC icons on MacOS too

parent f165a6b5
Pipeline #55739 canceled with stage
......@@ -114,7 +114,8 @@ int main(int argc, char *argv[])
qputenv("KDE_FORK_SLAVES", "1");
QString path = qApp->applicationDirPath() + QLatin1Char(';') + qgetenv("PATH");
qputenv("PATH", path.toUtf8().constData());
#if defined(Q_OS_WIN) || defined (Q_OS_MACOS)
const QStringList themes {"/icons/breeze/breeze-icons.rcc", "/icons/breeze-dark/breeze-icons-dark.rcc"};
for(const QString theme : themes ) {
const QString themePath = QStandardPaths::locate(QStandardPaths::AppDataLocation, theme);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment