1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 08:19:42 +01:00

spacing tweaks, they will never end

This commit is contained in:
Leo Franchi 2011-05-03 16:50:30 -04:00
parent c72f6cf508
commit 52c2fd2a5a

View File

@ -75,6 +75,7 @@ SettingsDialog::SettingsDialog( QWidget *parent )
#ifdef Q_WS_X11
ui->listWidget->setFrameShape( QFrame::StyledPanel );
ui->listWidget->setFrameShadow( QFrame::Sunken );
setContentsMargins( 4, 4, 4, 4 );
#else
ui->verticalLayout->removeItem( ui->verticalSpacer_3 );
#endif
@ -122,6 +123,8 @@ SettingsDialog::SettingsDialog( QWidget *parent )
connect( ui->proxyButton, SIGNAL( clicked() ), SLOT( showProxySettings() ) );
connect( ui->checkBoxStaticPreferred, SIGNAL( toggled(bool) ), SLOT( toggleUpnp(bool) ) );
connect( this, SIGNAL( rejected() ), SLOT( onRejected() ) );
ui->listWidget->setCurrentRow( 0 );
}
@ -211,7 +214,7 @@ SettingsDialog::createIcons()
#ifndef Q_WS_MAC
// doesn't listen to sizehint...
ui->listWidget->setMaximumWidth( maxlen + 14 );
ui->listWidget->setMaximumWidth( maxlen + 8 );
#endif
connect( ui->listWidget, SIGNAL( currentItemChanged( QListWidgetItem* ,QListWidgetItem* ) ), this, SLOT( changePage( QListWidgetItem*, QListWidgetItem* ) ) );