Commit c445ae57 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: translate all buttons in plugins dialog

(cherry picked from commit 8f971a410d3fb7eee0dfa30218699f37e71a9580)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 15d6b7a9
......@@ -524,10 +524,12 @@ ExtensionInfoDialog::ExtensionInfoDialog( const ExtensionCopy& extension,
layout->addWidget( line, 6, 2, 1, -1 );
// Close button
QDialogButtonBox *group = new QDialogButtonBox( QDialogButtonBox::Close,
Qt::Horizontal, this );
QDialogButtonBox *group = new QDialogButtonBox( this );
QPushButton *closeButton = new QPushButton( qtr( "&Close" ) );
group->addButton( closeButton, QDialogButtonBox::AcceptRole );
BUTTONACT( closeButton, close() );
layout->addWidget( group, 7, 0, 1, -1 );
connect( group, SIGNAL(clicked(QAbstractButton*)), this, SLOT(close()) );
// Fix layout
layout->setColumnStretch( 2, 1 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment