1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

Don't set a window icon on OSX and don't try to use the unified toolbar anymore.

This commit is contained in:
Christian Muehlhaeuser 2015-10-28 05:40:58 +01:00
parent 7b4c46cf67
commit a64d038dba
2 changed files with 1 additions and 4 deletions

View File

@ -174,12 +174,10 @@ TomahawkApp::init()
QWebSettings::globalSettings()->setAttribute(QWebSettings::OfflineStorageDatabaseEnabled, true);
//QWebSettings::setOfflineStoragePath(QLatin1String("/tmp"));
m_headless = true;
m_headless = arguments().contains( "--headless" );
setWindowIcon( QIcon( RESPATH "icons/tomahawk-icon-128x128.png" ) );
#ifndef Q_OS_MAC
setWindowIcon( QIcon( RESPATH "icons/tomahawk-icon-128x128.png" ) );
setQuitOnLastWindowClosed( false );
#endif

View File

@ -270,7 +270,6 @@ TomahawkWindow::applyPlatformTweaks()
qApp->setStyle( new ProxyStyle( isQtCurve ) );
#ifdef Q_OS_MAC
setUnifiedTitleAndToolBarOnMac( true );
delete ui->hline1;
delete ui->hline2;
#else