Commit 4452e098 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: remove privacy dialog on Qt4

Unparented dialogs are not supported by the window manager. This was
causing a deadlock during VLC startup (There may be other cases left).
parent dcd0b137
...@@ -590,6 +590,7 @@ inline void MainInterface::initSystray() ...@@ -590,6 +590,7 @@ inline void MainInterface::initSystray()
inline void MainInterface::askForPrivacy() inline void MainInterface::askForPrivacy()
{ {
#ifndef HAVE_MAEMO
/** /**
* Ask for the network policy on FIRST STARTUP * Ask for the network policy on FIRST STARTUP
**/ **/
...@@ -610,6 +611,7 @@ inline void MainInterface::askForPrivacy() ...@@ -610,6 +611,7 @@ inline void MainInterface::askForPrivacy()
config_SaveConfigFile( p_intf, NULL ); config_SaveConfigFile( p_intf, NULL );
} }
} }
#endif
} }
int MainInterface::privacyDialog( QList<ConfigControl *> *controls ) int MainInterface::privacyDialog( QList<ConfigControl *> *controls )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment