1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 00:54:20 +02:00

* Fixed Accounts stuff causing QLayout warning.

This commit is contained in:
Christian Muehlhaeuser
2013-06-07 11:27:15 +02:00
parent 412fb5b7bb
commit b291788a2e
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ AccountListWidget::AccountListWidget( AccountModelFactoryProxy* model, QWidget*
connect( m_toggleOnlineButton, SIGNAL( clicked() ), connect( m_toggleOnlineButton, SIGNAL( clicked() ),
this, SLOT( toggleOnlineStateForAll() ) ); this, SLOT( toggleOnlineStateForAll() ) );
QHBoxLayout *headerLayout = new QHBoxLayout( this ); QHBoxLayout *headerLayout = new QHBoxLayout();
headerLayout->addWidget( connectionsLabel ); headerLayout->addWidget( connectionsLabel );
headerLayout->addSpacing( 30 ); headerLayout->addSpacing( 30 );
headerLayout->addWidget( m_toggleOnlineButton ); headerLayout->addWidget( m_toggleOnlineButton );

View File

@@ -89,7 +89,7 @@ AccountsToolButton::AccountsToolButton( QWidget* parent )
settingsButton->setText( tr( "Configure Accounts" ) ); settingsButton->setText( tr( "Configure Accounts" ) );
connect( settingsButton, SIGNAL( clicked() ), window(), SLOT( showSettingsDialog() ) ); connect( settingsButton, SIGNAL( clicked() ), window(), SLOT( showSettingsDialog() ) );
QHBoxLayout *bottomLayout = new QHBoxLayout( w ); QHBoxLayout *bottomLayout = new QHBoxLayout();
TomahawkUtils::unmarginLayout( bottomLayout ); TomahawkUtils::unmarginLayout( bottomLayout );
bottomLayout->addStretch(); bottomLayout->addStretch();
bottomLayout->addWidget( settingsButton ); bottomLayout->addWidget( settingsButton );