Skip to content

Commit

Permalink
Update macOS icon (#1609)
Browse files Browse the repository at this point in the history
* Add SVG icon

* Update macOS icon

* Don't force change the application icon at runtime on macOS
  • Loading branch information
xenticore authored Aug 27, 2023
1 parent bc71618 commit b4756c5
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 0 deletions.
Binary file modified res/melon.icns
Binary file not shown.
80 changes: 80 additions & 0 deletions res/melon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/frontend/qt_sdl/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

1 comment on commit b4756c5

@HomeStarRunnerTron
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OH HALLELUJAH, just downloaded this build and I can finally keep the custom icon I made of my DSi; a true joy!! Now I get to see it while I'm actually running the program. : ) Thank you for all you & the rest of team have done!

Please sign in to comment.