Add macOS 1024x1024 icon for dock, app switcher, etc., rendering

[ci skip]
This commit is contained in:
Larry Shaffer 2017-03-08 16:44:43 -07:00
parent 8f470e9a09
commit 35edc182ea
2 changed files with 5 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

View File

@ -809,7 +809,12 @@ int main( int argc, char *argv[] )
QgsApplication myApp( argc, argv, myUseGuiFlag, configpath ); QgsApplication myApp( argc, argv, myUseGuiFlag, configpath );
#ifdef Q_OS_MAC
// Set 1024x1024 icon for dock, app switcher, etc., rendering
myApp.setWindowIcon( QIcon( QgsApplication::iconsPath() + QStringLiteral( "qgis-icon-macos.png" ) ) );
#else
myApp.setWindowIcon( QIcon( QgsApplication::appIconPath() ) ); myApp.setWindowIcon( QIcon( QgsApplication::appIconPath() ) );
#endif
// //