]> git.sesse.net Git - vlc/commitdiff
Qt4 - Fix display bug using the Sout dialog.
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 18 Feb 2008 07:54:11 +0000 (07:54 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 18 Feb 2008 07:54:11 +0000 (07:54 +0000)
modules/gui/qt4/dialogs/sout.hpp

index b01812d9bed6b5f6ad722760dbf3de8c832e94a5..6947bbb855381592af98b3f00483a9ce5ec5bf56 100644 (file)
@@ -50,7 +50,8 @@ public:
             instance = new SoutDialog( parent, p_intf, transcode_only );
         else
         {
-            instance->setParent( parent );
+            /* Recenter the dialog on the parent */
+            instance->setParent( parent, Qt::Dialog );
             if( transcode_only != instance->b_transcode_only )
             {
                 instance->toggleSout();