Update macOS icon to match new Big Sur style

This commit is contained in:
Cameron Gutman committed 2020-11-21 16:37:56 -06:00
1 parent e224a7f0c7
commit ae5df938b6
2 files changed
+4

No files matched your search

+4
View File
@@ -462,7 +462,11 @@ int main(int argc, char *argv[])
} }
#endif #endif
#ifndef Q_OS_DARWIN
// Set the window icon except on macOS where we want to keep the
// modified macOS 11 style rounded corner icon.
app.setWindowIcon(QIcon(":/res/moonlight.svg")); app.setWindowIcon(QIcon(":/res/moonlight.svg"));
#endif
// Register our C++ types for QML // Register our C++ types for QML
qmlRegisterType<ComputerModel>("ComputerModel", 1, 0, "ComputerModel"); qmlRegisterType<ComputerModel>("ComputerModel", 1, 0, "ComputerModel");
Binary file not shown.