Skip to content

Commit

Permalink
Qt UI: fix main window closing for Mac OS X (final step)
Browse files Browse the repository at this point in the history
  • Loading branch information
tehnick committed Jul 11, 2013
1 parent 7c5240d commit 78fa444
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eiskaltdcpp-qt/src/Notification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ void Notification::enableTray(bool enable){

tray = NULL;

#if defined(Q_WS_MAC)
MainWindow::getInstance()->setUnload(false);
#else // defined(Q_WS_MAC)
MainWindow::getInstance()->setUnload(true);
#endif // defined(Q_WS_MAC)

//WBSET(WB_TRAY_ENABLED, false);
}
Expand Down

0 comments on commit 78fa444

Please sign in to comment.