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