]> git.sesse.net Git - vlc/commitdiff
Force modality to fix 1746.
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 5 Aug 2008 19:17:08 +0000 (12:17 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 5 Aug 2008 19:17:08 +0000 (12:17 -0700)
modules/gui/qt4/dialogs/open.cpp

index 3a13ca9e67ecbedc17f71a907cbd0f9dae43338c..a9ac6c0831f5d2315f81b50fc9e68c2d6776a6ed 100644 (file)
@@ -66,9 +66,10 @@ OpenDialog::OpenDialog( QWidget *parent,
 {
     i_action_flag = _action_flag;
 
+    setWindowModality( Qt::WindowModal );
+
     if( b_selectMode ) /* Select mode */
     {
-        setWindowModality( Qt::WindowModal );
         i_action_flag = SELECT;
     }