Fixed notification tray icon for windows builds.

This commit is contained in:
casey langen 2021-12-18 21:08:00 -08:00
parent 0e71527cbc
commit be1d51c5f7
3 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,8 @@
* fixed a bug where user may be unable to nativate to the lyrics view
* fixed a low-level bug that could prevent layout update events from
propagating up the view hierarchy.
* fixed a bug where the notification tray icon was not drawing properly on
windows builds.
0.96.7

View File

@ -143,7 +143,7 @@ int main(int argc, char* argv[]) {
App app("musikcube"); /* must be before layout creation */
#ifdef WIN32
//app.SetIcon(IDI_ICON1);
app.SetIcon(IDI_ICON1);
app.SetSingleInstanceId("musikcube");
#endif

View File

@ -132,7 +132,6 @@ static void restoreFromTray(HWND hwnd) {
Shell_NotifyIcon(NIM_DELETE, trayIcon.get());
minimizedToTray = false;
ShowWindow(hwnd, SW_SHOWNORMAL);
}
static void resetMutex() {