1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-07 14:46:33 +02:00

Hide now-playing push groupbox unless on osx

This commit is contained in:
Leo Franchi
2011-06-11 13:48:33 -04:00
parent 9d4642b453
commit 9bf44b1e52
2 changed files with 5 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ namespace TomahawkUtils
NetworkProxyFactory() NetworkProxyFactory()
: m_proxy( QNetworkProxy::NoProxy ) : m_proxy( QNetworkProxy::NoProxy )
{} {}
virtual ~NetworkProxyFactory() {} virtual ~NetworkProxyFactory() {}
virtual QList< QNetworkProxy > queryProxy( const QNetworkProxyQuery & query = QNetworkProxyQuery() ); virtual QList< QNetworkProxy > queryProxy( const QNetworkProxyQuery & query = QNetworkProxyQuery() );

View File

@@ -121,11 +121,12 @@ SettingsDialog::SettingsDialog( QWidget *parent )
ui->checkBoxWatchForChanges->setVisible( false ); ui->checkBoxWatchForChanges->setVisible( false );
// NOW PLAYING // NOW PLAYING
#ifdef Q_WS_MAC #ifdef Q_WS_MAC
ui->checkBoxEnableAdium->setChecked( s->nowPlayingEnabled() ); ui->checkBoxEnableAdium->setChecked( s->nowPlayingEnabled() );
#else #else
ui->nowPlaying->hide();
ui->checkBoxEnableAdium->hide(); ui->checkBoxEnableAdium->hide();
#endif #endif
// LAST FM // LAST FM
ui->checkBoxEnableLastfm->setChecked( s->scrobblingEnabled() ); ui->checkBoxEnableLastfm->setChecked( s->scrobblingEnabled() );