mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-16 19:14:06 +02:00
* Dont hide in SysTray on OSX.
This commit is contained in:
@@ -175,15 +175,15 @@ TomahawkWindow::changeEvent( QEvent* e )
|
||||
void
|
||||
TomahawkWindow::closeEvent( QCloseEvent* e )
|
||||
{
|
||||
#ifndef Q_WS_MAC
|
||||
if ( QSystemTrayIcon::isSystemTrayAvailable() )
|
||||
{
|
||||
e->ignore();
|
||||
hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
e->accept();
|
||||
}
|
||||
#endif
|
||||
|
||||
e->accept();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user