mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 09:04:33 +02:00
Make sure tr() gets called in the right context.
This commit is contained in:
@@ -128,7 +128,7 @@ AccountWidget::AccountWidget( QWidget* parent )
|
||||
|
||||
m_inviteButton = new QPushButton( this );
|
||||
m_inviteButton->setMinimumWidth( m_inviteButton->logicalDpiX() * 0.8 );
|
||||
m_inviteButton->setText( tr( "Invite" ) );
|
||||
m_inviteButton->setText( AccountWidget::tr( "Invite" ) );
|
||||
m_inviteButton->setSizePolicy( QSizePolicy::Minimum, QSizePolicy::Preferred );
|
||||
vLayout->addWidget( m_inviteButton, 1, 1 );
|
||||
vLayout->setColumnStretch( 0, 1 );
|
||||
|
@@ -87,7 +87,7 @@ AccountsToolButton::AccountsToolButton( QWidget* parent )
|
||||
|
||||
QPushButton *settingsButton = new QPushButton( w );
|
||||
settingsButton->setIcon( TomahawkUtils::defaultPixmap( TomahawkUtils::AccountSettings ) );
|
||||
settingsButton->setText( tr( "Configure Accounts" ) );
|
||||
settingsButton->setText( AccountsToolButton::tr( "Configure Accounts" ) );
|
||||
connect( settingsButton, SIGNAL( clicked() ), window(), SLOT( showSettingsDialog() ) );
|
||||
|
||||
QHBoxLayout *bottomLayout = new QHBoxLayout();
|
||||
|
Reference in New Issue
Block a user