Commit 114100ad authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

Qt: add an icon in front of the resume panel

(cherry picked from commit 3f1f34dbd7085593d56c187e915fab3161e2acbe)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 81a59715
...@@ -376,12 +376,18 @@ void MainInterface::createContinueDialog( QWidget *w ) ...@@ -376,12 +376,18 @@ void MainInterface::createContinueDialog( QWidget *w )
QHBoxLayout *continueDialogLayout = new QHBoxLayout( continueDialog ); QHBoxLayout *continueDialogLayout = new QHBoxLayout( continueDialog );
continueDialogLayout->setSpacing( 0 ); continueDialogLayout->setMargin( 0 ); continueDialogLayout->setSpacing( 0 ); continueDialogLayout->setMargin( 0 );
QLabel *continuePixmapLabel = new QLabel();
continuePixmapLabel->setPixmap( QPixmap( ":/menu/help" ) );
continuePixmapLabel->setContentsMargins( 5, 0, 5, 0 );
QLabel *continueLabel = new QLabel( qtr( "Do you want to restart the playback where left off?") ); QLabel *continueLabel = new QLabel( qtr( "Do you want to restart the playback where left off?") );
QToolButton *cancel = new QToolButton( continueDialog ); QToolButton *cancel = new QToolButton( continueDialog );
cancel->setAutoRaise( true ); cancel->setAutoRaise( true );
cancel->setText( "X" ); cancel->setText( "X" );
QPushButton *ok = new QPushButton( qtr("&Continue") ); QPushButton *ok = new QPushButton( qtr("&Continue") );
continueDialogLayout->addWidget( continuePixmapLabel );
continueDialogLayout->addWidget(continueLabel); continueDialogLayout->addWidget(continueLabel);
continueDialogLayout->addStretch( 1 ); continueDialogLayout->addStretch( 1 );
continueDialogLayout->addWidget( ok ); continueDialogLayout->addWidget( ok );
......
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