Commit 864756e2 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Fix some modality

Close #2763
parent a57a4a64
......@@ -85,6 +85,7 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf)
setWindowRole( "vlc-about" );
resize( 600, 500 );
setMinimumSize( 600, 500 );
setWindowModality( Qt::WindowModal );
QGridLayout *layout = new QGridLayout( this );
QTabWidget *tab = new QTabWidget( this );
......
......@@ -45,6 +45,7 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
QGridLayout *main_layout = new QGridLayout( this );
setWindowTitle( qtr( "Preferences" ) );
setWindowRole( "vlc-preferences" );
setWindowModality( Qt::WindowModal );
/* Whether we want it or not, we need to destroy on close to get
consistency when reset */
......
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