mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
* Fixes for compiling new settings dialog on OSX.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user