[vlc-devel] commit: Qt: avoid a crash on first Startup (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Feb 28 10:57:57 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Feb 28 10:54:30 2010 +0100| [18ed1a8922ec552d8aeb7b98f192600065ecfdd7] | committer: Jean-Baptiste Kempf
Qt: avoid a crash on first Startup
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=18ed1a8922ec552d8aeb7b98f192600065ecfdd7
---
modules/gui/qt4/dialogs/firstrun.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/dialogs/firstrun.cpp b/modules/gui/qt4/dialogs/firstrun.cpp
index c5bbcf5..088e8ae 100644
--- a/modules/gui/qt4/dialogs/firstrun.cpp
+++ b/modules/gui/qt4/dialogs/firstrun.cpp
@@ -42,10 +42,13 @@ FirstRun::FirstRun( QWidget *_p, intf_thread_t *_p_intf )
#define ALBUM_ART_WHEN_ASKED 0
#define ALBUM_ART_ALL 2
+
void FirstRun::save()
{
config_PutInt( p_intf, "album-art", checkbox->isChecked() ? ALBUM_ART_ALL: ALBUM_ART_WHEN_ASKED );
+#ifdef UPDATE_CHECK
config_PutInt( p_intf, "qt-updates-notif", checkbox2->isChecked() );
+#endif
config_PutInt( p_intf, "qt-privacy-ask", 0 );
/* We have to save here because the user may not launch Prefs */
More information about the vlc-devel
mailing list