From 54194b5a5054aa1be6e1dbbbaad00968f8848d75 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 20 Mar 2018 13:31:47 +0100 Subject: Don't overwrite the original icon search paths --- applications/kube/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/kube/main.cpp b/applications/kube/main.cpp index 61521af5..ef88500e 100644 --- a/applications/kube/main.cpp +++ b/applications/kube/main.cpp @@ -160,7 +160,7 @@ int main(int argc, char *argv[]) app.setApplicationVersion(kube_VERSION_STRING); app.setFont(QFont{"Noto Sans", app.font().pointSize(), QFont::Normal}); - //On Mac OS we want to incluee Contents/Resources/icons in the bundle, and that path is in AppDataLocations. + //On Mac OS we want to include Contents/Resources/icons in the bundle, and that path is in AppDataLocations. QStringList iconSearchPaths; for (const auto &p : QStandardPaths::standardLocations(QStandardPaths::AppDataLocation)) { auto iconPath = p + "/icons/"; @@ -170,7 +170,7 @@ int main(int argc, char *argv[]) } iconSearchPaths << iconPath; } - QIcon::setThemeSearchPaths(iconSearchPaths); + QIcon::setThemeSearchPaths(QIcon::themeSearchPaths() + iconSearchPaths); QCommandLineParser parser; parser.setApplicationDescription("A communication and collaboration client."); -- cgit v1.2.3