[vlc-devel] commit: Force modality to fix 1746. (Jean-Baptiste Kempf )

git version control git at videolan.org
Tue Aug 5 21:14:48 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug  5 12:17:08 2008 -0700| [15151cbaa2ec9a16da2cb8f6b7e811e275559c78] | committer: Jean-Baptiste Kempf 

Force modality to fix 1746.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=15151cbaa2ec9a16da2cb8f6b7e811e275559c78
---

 modules/gui/qt4/dialogs/open.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/dialogs/open.cpp b/modules/gui/qt4/dialogs/open.cpp
index 3a13ca9..a9ac6c0 100644
--- a/modules/gui/qt4/dialogs/open.cpp
+++ b/modules/gui/qt4/dialogs/open.cpp
@@ -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;
     }
 




More information about the vlc-devel mailing list