Merge pull request #551 from bblacey/macOS-app-icon-2920

Use scalable application icon resources on macOS
This commit is contained in:
wwmayer 2017-02-24 13:28:16 +01:00 committed by GitHub
commit 2e4e9e8b28

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