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

Qt: translate all buttons in openurl

(cherry picked from commit 56346f34)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent c445ae57
......@@ -51,12 +51,13 @@ OpenUrlDialog::OpenUrlDialog( intf_thread_t *_p_intf,
QPushButton *but;
QDialogButtonBox *box = new QDialogButtonBox( this );
but = box->addButton( QDialogButtonBox::Ok );
but = box->addButton( qtr( "&Play" ), QDialogButtonBox::AcceptRole );
CONNECT( but, clicked(), this, play() );
but = box->addButton( QDialogButtonBox::Cancel );
but = box->addButton( qtr( "&Enqueue" ), QDialogButtonBox::AcceptRole );
CONNECT( but, clicked(), this, enqueue() );
but = box->addButton( qtr( "&Cancel" ) , QDialogButtonBox::RejectRole );
CONNECT( box, rejected(), this, reject() );
/* Info label and line edit */
......
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