[vlc-devel] commit: Revert "qt4 - Make errors dialog Application Modal." ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Jul 2 19:15:32 CEST 2009


vlc | branch: 0.9-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul  2 20:11:14 2009 +0300| [d4ea2cb6db90324d4118e2c6690e8c390b7c67da] | committer: Rémi Denis-Courmont 

Revert "qt4 - Make errors dialog Application Modal."

This reverts commit f4e4ec78c05a8eaceb2b8424d1ccf503e2b58ec2.
Non-modal errors are non-model errors, and we only use the error dialog
for non-modal errors (otherwise we use a critical message box). We need
the Qt4 UI to remain usable inspite of a continuous flow of error.
(cherry picked from commit 36b4ced9c9a2af81237d4b5a7240873c7041f589)

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

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

diff --git a/modules/gui/qt4/dialogs/errors.cpp b/modules/gui/qt4/dialogs/errors.cpp
index d8c785e..77e24a0 100644
--- a/modules/gui/qt4/dialogs/errors.cpp
+++ b/modules/gui/qt4/dialogs/errors.cpp
@@ -42,8 +42,6 @@ ErrorsDialog::ErrorsDialog( QWidget *parent, intf_thread_t *_p_intf )
     setWindowTitle( qtr( "Errors" ) );
     resize( 500 , 300 );
 
-    setWindowModality( Qt::ApplicationModal );
-
     QGridLayout *layout = new QGridLayout( this );
 
     QDialogButtonBox *buttonBox = new QDialogButtonBox;




More information about the vlc-devel mailing list