mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Add macOS 1024x1024 icon for dock, app switcher, etc., rendering
[ci skip]
This commit is contained in:
parent
8f470e9a09
commit
35edc182ea
BIN
images/icons/qgis-icon-macos.png
Normal file
BIN
images/icons/qgis-icon-macos.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 165 KiB |
@ -809,7 +809,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() + QStringLiteral( "qgis-icon-macos.png" ) ) );
|
||||
#else
|
||||
myApp.setWindowIcon( QIcon( QgsApplication::appIconPath() ) );
|
||||
#endif
|
||||
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user