]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/qt4.cpp
Disable "qt-updates-notif" when update checking is not enabled
[vlc] / modules / gui / qt4 / qt4.cpp
index 4db396fdf38830273069e6bd1bf531600b08b9fc..6d87172bcc254b6d681a50e0d1d8dcbc1ac421bb 100644 (file)
@@ -104,7 +104,7 @@ static void ShowDialog   ( intf_thread_t *, int, int, intf_dialog_args_t * );
 #define ERROR_TEXT N_( "Show unimportant error and warnings dialogs" )
 #define MINIMAL_TEXT N_( "Start in minimal view (menus hidden)." )
 
-#define UPDATER_TEXT N_( "Activate the new updates notification" )
+#define UPDATER_TEXT N_( "Activate the updates availability notification" )
 #define UPDATER_LONGTEXT N_( "Activate the automatic notification of new " \
                             "versions of the software. It runs once a week." )
 
@@ -165,8 +165,10 @@ vlc_module_begin();
                 ADVANCED_PREFS_LONGTEXT, VLC_FALSE );
         add_bool( "qt-error-dialogs", VLC_TRUE, NULL, ERROR_TEXT,
                 ERROR_TEXT, VLC_FALSE );
+#ifdef UPDATE_CHECK
         add_bool( "qt-updates-notif", VLC_TRUE, NULL, UPDATER_TEXT,
                 UPDATER_LONGTEXT, VLC_FALSE );
+#endif
 
         add_integer( "qt-pl-showflags",
                 VLC_META_ENGINE_ARTIST|VLC_META_ENGINE_TITLE|