1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 13:47:26 +02:00

* Fixes for compiling new settings dialog on OSX.

This commit is contained in:
Christian Muehlhaeuser
2012-08-03 07:20:02 +02:00
parent 70cb7bd92b
commit 8b42e88a8d

View File

@@ -120,22 +120,11 @@ SettingsDialog::SettingsDialog( QWidget *parent )
setContentsMargins( 0, 4, 4, 4 ); setContentsMargins( 0, 4, 4, 4 );
#endif #endif
#ifdef Q_WS_MAC
ui->listWidget->setFixedWidth( 83 );
#endif
#ifdef Q_WS_MAC #ifdef Q_WS_MAC
// Avoid resize handles on sheets on osx // Avoid resize handles on sheets on osx
m_proxySettings.setSizeGripEnabled( true ); m_proxySettings.setSizeGripEnabled( true );
QSizeGrip* p = m_proxySettings.findChild< QSizeGrip* >(); QSizeGrip* p = m_proxySettings.findChild< QSizeGrip* >();
p->setFixedSize( 0, 0 ); p->setFixedSize( 0, 0 );
ui->groupBoxNetworkAdvanced->layout()->removeItem( ui->verticalSpacer );
ui->groupBoxNetworkAdvanced->layout()->removeItem( ui->verticalSpacer_2 );
ui->groupBoxNetworkAdvanced->layout()->removeItem( ui->verticalSpacer_4 );
delete ui->verticalSpacer;
delete ui->verticalSpacer_2;
delete ui->verticalSpacer_4;
#endif #endif
// Accounts // Accounts