[vlc-commits] Qt4: negative days for updates checking makes no sense

Jean-Baptiste Kempf git at videolan.org
Mon Jan 2 22:27:15 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan  2 22:25:58 2012 +0100| [b85cc5537812613a2988651c851b08fa34b7516a] | committer: Jean-Baptiste Kempf

Qt4: negative days for updates checking makes no sense

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

 modules/gui/qt4/qt4.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index 025086f..eb48afd 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -231,8 +231,8 @@ vlc_module_begin ()
 #ifdef UPDATE_CHECK
     add_bool( "qt-updates-notif", true, UPDATER_TEXT,
               UPDATER_LONGTEXT, false )
-    add_integer( "qt-updates-days", 3, UPDATER_DAYS_TEXT,
-                 UPDATER_DAYS_TEXT, false )
+    add_integer_with_range( "qt-updates-days", 3, 0, 180,
+              UPDATER_DAYS_TEXT, UPDATER_DAYS_TEXT, false )
 #endif
 
     add_bool( "qt-autosave-volume", true, SAVEVOL_TEXT,



More information about the vlc-commits mailing list