Skip to content

Commit

Permalink
macOS: Do not replace app icon with low-resolution .ico on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
nanoant authored and AlexandraTrifan committed Mar 17, 2022
1 parent 1a03be9 commit 4107964
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tool_launcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@ ToolLauncher::ToolLauncher(QString prevCrashDump, QWidget *parent) :
registerNativeMethods();
#endif

#ifndef __APPLE__
setWindowIcon(QIcon(":/icon.ico"));
QApplication::setWindowIcon(QIcon(":/icon.ico"));
#endif

// TO DO: remove this when the About menu becomes available
setWindowTitle(QString("Scopy - ") + QString("v"+QString(PROJECT_VERSION)) + " - " + QString(SCOPY_VERSION_GIT));
Expand Down

0 comments on commit 4107964

Please sign in to comment.