[vlc-devel] commit: We even can show a new dialog after reset the preferences. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Jul 28 09:19:03 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jul 28 00:22:06 2008 -0700| [67cc17320f06fb7e18e676154e1b1583be1a7613]

We even can show a new dialog after reset the preferences.
Complete fix of #1777.

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

 modules/gui/qt4/dialogs/preferences.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/dialogs/preferences.cpp b/modules/gui/qt4/dialogs/preferences.cpp
index a841f70..142c358 100644
--- a/modules/gui/qt4/dialogs/preferences.cpp
+++ b/modules/gui/qt4/dialogs/preferences.cpp
@@ -360,5 +360,6 @@ void PrefsDialog::reset()
 
         instance = NULL;
         close();
+        PrefsDialog::getInstance( p_intf )->show();
     }
 }




More information about the vlc-devel mailing list