]> git.sesse.net Git - vlc/commitdiff
qt4 - Make errors dialog Application Modal.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 31 Mar 2007 12:51:04 +0000 (12:51 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 31 Mar 2007 12:51:04 +0000 (12:51 +0000)
modules/gui/qt4/dialogs/errors.cpp

index 177ea230a88a3528c7a45d76362a7ff04d2df9bc..da2fa61af1b0032487e56408d0e62965f2b7d1e6 100644 (file)
@@ -37,6 +37,8 @@ ErrorsDialog::ErrorsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
     setWindowTitle( qtr( "Errors" ) );
     resize( 500 , 200 );
 
+    setWindowModality( Qt::ApplicationModal );
+
     QGridLayout *layout = new QGridLayout( this );
     QPushButton *closeButton = new QPushButton(qtr("&Close"));
     QPushButton *clearButton = new QPushButton(qtr("&Clear"));