[vlc-devel] commit: Qt: reparent the first-time dialog and make it die correctly. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Feb 11 04:39:44 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Feb 11 04:27:56 2009 +0100| [ff83b31b15f25512876846f333a5b00378166477] | committer: Jean-Baptiste Kempf 

Qt: reparent the first-time dialog and make it die correctly.

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

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

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index a35bb7d..eb5b7ed 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -468,7 +468,7 @@ inline void MainInterface::askForPrivacy()
 
 int MainInterface::privacyDialog( QList<ConfigControl *> *controls )
 {
-    QDialog *privacy = new QDialog();
+    QDialog *privacy = new QDialog( this );
 
     privacy->setWindowTitle( qtr( "Privacy and Network Policies" ) );
 




More information about the vlc-devel mailing list