aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorxenticore <xenticore@icloud.com>2023-08-27 07:37:42 -0400
committerGitHub <noreply@github.com>2023-08-27 13:37:42 +0200
commitb4756c59441d83469d875ab96d6636c33707c0da (patch)
treeb322529b198d7ce458e25cfa06e40deec4bfbadc /src/frontend
parentbc71618457a2759f0fa9eda4aaade9cb4a5e5695 (diff)
Update macOS icon (#1609)
* Add SVG icon * Update macOS icon * Don't force change the application icon at runtime on macOS
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/qt_sdl/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp
index de4c09a..12a9906 100644
--- a/src/frontend/qt_sdl/main.cpp
+++ b/src/frontend/qt_sdl/main.cpp
@@ -3199,7 +3199,9 @@ void emuStop()
MelonApplication::MelonApplication(int& argc, char** argv)
: QApplication(argc, argv)
{
+#ifndef __APPLE__
setWindowIcon(QIcon(":/melon-icon"));
+#endif
}
bool MelonApplication::event(QEvent *event)