]> git.sesse.net Git - vlc/commitdiff
Qt: reparent the first-time dialog and make it die correctly.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 11 Feb 2009 03:27:56 +0000 (04:27 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 11 Feb 2009 03:27:56 +0000 (04:27 +0100)
modules/gui/qt4/main_interface.cpp

index a35bb7d2d85266f6c937d5ea4eb4bddaa8e0bc35..eb5b7ede415f855062553d420bd4f8a6f53b7012 100644 (file)
@@ -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" ) );