Skip to content

Commit

Permalink
Fix low res macOS icon for dock, app switcher, etc., rendering
Browse files Browse the repository at this point in the history
Use 1024x1024 size.

cherry-picked from 35edc18
  • Loading branch information
dakcarto committed Mar 9, 2017
1 parent 610976a commit b7da275
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file added images/icons/qgis-icon-macos.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/app/main.cpp
Expand Up @@ -806,7 +806,12 @@ int main( int argc, char *argv[] )

QgsApplication myApp( argc, argv, myUseGuiFlag, configpath );

#ifdef Q_OS_MAC
// Set 1024x1024 icon for dock, app switcher, etc., rendering
myApp.setWindowIcon( QIcon( QgsApplication::iconsPath() + QLatin1String( "qgis-icon-macos.png" ) ) );
#else
myApp.setWindowIcon( QIcon( QgsApplication::appIconPath() ) );
#endif

//
// Set up the QSettings environment must be done after qapp is created
Expand Down

0 comments on commit b7da275

Please sign in to comment.