Skip to content

Commit 9d67849

Browse files
committed
also set application icon on windows and osx
1 parent 7d59be8 commit 9d67849

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/app/main.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -750,10 +750,7 @@ int main( int argc, char *argv[] )
750750

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

753-
// (if Windows/Mac, use icon from resource)
754-
#if !defined(Q_OS_WIN) && !defined(Q_OS_MAC)
755753
myApp.setWindowIcon( QIcon( QgsApplication::appIconPath() ) );
756-
#endif
757754

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

0 commit comments

Comments
 (0)