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:
parent
7b4c46cf67
commit
a64d038dba
@ -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
|
||||
|
||||
|
@ -270,7 +270,6 @@ TomahawkWindow::applyPlatformTweaks()
|
||||
qApp->setStyle( new ProxyStyle( isQtCurve ) );
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
setUnifiedTitleAndToolBarOnMac( true );
|
||||
delete ui->hline1;
|
||||
delete ui->hline2;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user