Use scalable application icon resources on macOS

Fixes #2920
This commit is contained in:
Bruce B. Lacey
2017-02-22 19:04:22 -08:00
parent f045e31970
commit b601ea32f5

View File

@@ -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");