Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
e033388d
Commit
e033388d
authored
Jan 20, 2008
by
Rafaël Carré
Browse files
Disable "qt-updates-notif" when update checking is not enabled
parent
81220127
Changes
3
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/components/simple_preferences.cpp
View file @
e033388d
...
...
@@ -421,7 +421,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC
(
"album-art"
,
IntegerList
,
ui
.
artFetchLabel
,
artFetcher
);
CONFIG_GENERIC
(
"fetch-meta"
,
Bool
,
NULL
,
metaFetcher
);
#ifdef UPDATE_CHECK
CONFIG_GENERIC
(
"qt-updates-notif"
,
Bool
,
NULL
,
qtUpdates
);
#endif
CONFIG_GENERIC
(
"qt-always-video"
,
Bool
,
NULL
,
qtAlwaysVideo
);
CONFIG_GENERIC
(
"embeded-video"
,
Bool
,
NULL
,
embedVideo
);
CONFIG_GENERIC_FILE
(
"skins2-last"
,
File
,
NULL
,
fileSkin
,
...
...
modules/gui/qt4/main_interface.cpp
View file @
e033388d
...
...
@@ -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
);
...
...
modules/gui/qt4/qt4.cpp
View file @
e033388d
...
...
@@ -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
|
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment