Skip to content

Commit

Permalink
Fix change icon on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
prodrigestivill committed Oct 12, 2024
1 parent b4673a0 commit 7b2f548
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/IaitoApplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ IaitoApplication::IaitoApplication(int &argc, char **argv) : QApplication(argc,
{
// Setup application information
setApplicationVersion(IAITO_VERSION_FULL);
#ifndef Q_OS_MACX
setWindowIcon(QIcon(":/img/iaito.svg"));
#endif
#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
Expand Down

0 comments on commit 7b2f548

Please sign in to comment.