mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
* Fixed Accounts stuff causing QLayout warning.
This commit is contained in:
@@ -73,7 +73,7 @@ AccountListWidget::AccountListWidget( AccountModelFactoryProxy* model, QWidget*
|
||||
connect( m_toggleOnlineButton, SIGNAL( clicked() ),
|
||||
this, SLOT( toggleOnlineStateForAll() ) );
|
||||
|
||||
QHBoxLayout *headerLayout = new QHBoxLayout( this );
|
||||
QHBoxLayout *headerLayout = new QHBoxLayout();
|
||||
headerLayout->addWidget( connectionsLabel );
|
||||
headerLayout->addSpacing( 30 );
|
||||
headerLayout->addWidget( m_toggleOnlineButton );
|
||||
|
@@ -89,7 +89,7 @@ AccountsToolButton::AccountsToolButton( QWidget* parent )
|
||||
settingsButton->setText( tr( "Configure Accounts" ) );
|
||||
connect( settingsButton, SIGNAL( clicked() ), window(), SLOT( showSettingsDialog() ) );
|
||||
|
||||
QHBoxLayout *bottomLayout = new QHBoxLayout( w );
|
||||
QHBoxLayout *bottomLayout = new QHBoxLayout();
|
||||
TomahawkUtils::unmarginLayout( bottomLayout );
|
||||
bottomLayout->addStretch();
|
||||
bottomLayout->addWidget( settingsButton );
|
||||
|
Reference in New Issue
Block a user