From 28f79440270b14486fd434b06a93ee0f6038b879 Mon Sep 17 00:00:00 2001 From: "Bruce B. Lacey" Date: Wed, 22 Feb 2017 19:04:22 -0800 Subject: [PATCH] Use scalable application icon resources on macOS Fixes #2920 --- src/Gui/Application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gui/Application.cpp b/src/Gui/Application.cpp index 9de458fb5..080b7d4e8 100644 --- a/src/Gui/Application.cpp +++ b/src/Gui/Application.cpp @@ -1526,7 +1526,9 @@ void Application::runApplication(void) else { mainApp.setApplicationName(QString::fromUtf8(App::GetApplication().getExecutableName())); } +#ifndef Q_OS_MACX mainApp.setWindowIcon(Gui::BitmapFactory().pixmap(App::Application::Config()["AppIcon"].c_str())); +#endif QString plugin; plugin = QString::fromUtf8(App::GetApplication().getHomePath()); plugin += QLatin1String("/plugins");