Skip to content
Browse files

Fix low res macOS icon for dock, app switcher, etc., rendering

Use 1024x1024 size.

cherry-picked from 35edc18
  • Loading branch information
dakcarto committed Mar 9, 2017
1 parent 610976a commit b7da275437ca84d1b66e3c68789438629ad98c94
Showing with 5 additions and 0 deletions.
  1. BIN images/icons/qgis-icon-macos.png
  2. +5 −0 src/app/main.cpp
Binary file not shown.
@@ -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" ) ) );
myApp.setWindowIcon( QIcon( QgsApplication::appIconPath() ) );

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

0 comments on commit b7da275

Please sign in to comment.
You can’t perform that action at this time.