]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/main_interface.cpp
Disable "qt-updates-notif" when update checking is not enabled
[vlc] / modules / gui / qt4 / main_interface.cpp
index 6be82ff13334ce2445155c6fad24e3607df032c6..0c8022d086018decd47b3c0dc0b6bb1df3108e3d 100644 (file)
@@ -514,8 +514,9 @@ int MainInterface::privacyDialog( QList<ConfigControl *> controls )
 
     CONFIG_GENERIC( "album-art", IntegerList ); line++;
     CONFIG_GENERIC_NOBOOL( "fetch-meta", Bool ); line++;
+#ifdef UPDATE_CHECK
     CONFIG_GENERIC_NOBOOL( "qt-updates-notif", Bool );
-
+#endif
     QPushButton *ok = new QPushButton( qtr( "Ok" ) );
 
     gLayout->addWidget( ok, 2, 2 );