mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 21:27:58 +02:00
Show settings dialog.
This commit is contained in:
@@ -48,7 +48,9 @@ AccountsToolButton::AccountsToolButton( QWidget* parent )
|
|||||||
QToolButton *settingsButton = new QToolButton( w );
|
QToolButton *settingsButton = new QToolButton( w );
|
||||||
settingsButton->setIcon( QIcon( RESPATH "images/account-settings.png" ) );
|
settingsButton->setIcon( QIcon( RESPATH "images/account-settings.png" ) );
|
||||||
settingsButton->setToolButtonStyle( Qt::ToolButtonTextBesideIcon );
|
settingsButton->setToolButtonStyle( Qt::ToolButtonTextBesideIcon );
|
||||||
settingsButton->setText( tr( "Account Settings" ) );
|
settingsButton->setText( tr( "Configure Accounts" ) );
|
||||||
|
connect( settingsButton, SIGNAL( clicked() ),
|
||||||
|
window(), SLOT( showSettingsDialog() ) );
|
||||||
|
|
||||||
QHBoxLayout *headerLayout = new QHBoxLayout( w );
|
QHBoxLayout *headerLayout = new QHBoxLayout( w );
|
||||||
headerLayout->addWidget( connectionsLabel );
|
headerLayout->addWidget( connectionsLabel );
|
||||||
|
Reference in New Issue
Block a user