]> git.sesse.net Git - vlc/commitdiff
Qt4: remove privacy dialog on Qt4
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 31 Oct 2009 15:12:45 +0000 (17:12 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 31 Oct 2009 15:15:52 +0000 (17:15 +0200)
Unparented dialogs are not supported by the window manager. This was
causing a deadlock during VLC startup (There may be other cases left).

modules/gui/qt4/main_interface.cpp

index 986d9ae98e60254fb4b47b6921e7c1b726567e0c..05359a0b1eb849844a63a519f47351b2129c62a6 100644 (file)
@@ -590,6 +590,7 @@ inline void MainInterface::initSystray()
 
 inline void MainInterface::askForPrivacy()
 {
+#ifndef HAVE_MAEMO
     /**
      * Ask for the network policy on FIRST STARTUP
      **/
@@ -610,6 +611,7 @@ inline void MainInterface::askForPrivacy()
             config_SaveConfigFile( p_intf, NULL );
         }
     }
+#endif
 }
 
 int MainInterface::privacyDialog( QList<ConfigControl *> *controls )