Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
6f2c37e4
Commit
6f2c37e4
authored
Feb 11, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - network policy in Sprefs and in privacy policy dialog.
parent
8460c203
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+4
-1
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+2
-0
modules/gui/qt4/ui/sprefs_interface.ui
modules/gui/qt4/ui/sprefs_interface.ui
+11
-1
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
6f2c37e4
...
@@ -435,8 +435,11 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -435,8 +435,11 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
optionWidgets
.
append
(
ui
.
skins
);
optionWidgets
.
append
(
ui
.
skins
);
optionWidgets
.
append
(
ui
.
qt4
);
optionWidgets
.
append
(
ui
.
qt4
);
CONFIG_GENERIC
(
"album-art"
,
IntegerList
,
ui
.
artFetchLabel
,
artFetcher
);
CONFIG_GENERIC
(
"album-art"
,
IntegerList
,
ui
.
artFetchLabel
,
artFetcher
);
CONFIG_GENERIC
(
"fetch-meta"
,
Bool
,
NULL
,
metaFetcher
);
CONFIG_GENERIC
(
"fetch-meta"
,
Bool
,
NULL
,
metaFetcher
);
CONFIG_GENERIC
(
"security-policy"
,
IntegerList
,
ui
.
netPolicyLabel
,
netPolicyBox
);
#ifdef UPDATE_CHECK
#ifdef UPDATE_CHECK
CONFIG_GENERIC
(
"qt-updates-notif"
,
Bool
,
NULL
,
updatesBox
);
CONFIG_GENERIC
(
"qt-updates-notif"
,
Bool
,
NULL
,
updatesBox
);
CONFIG_GENERIC_NO_BOOL
(
"qt-updates-days"
,
Integer
,
NULL
,
CONFIG_GENERIC_NO_BOOL
(
"qt-updates-days"
,
Integer
,
NULL
,
...
...
modules/gui/qt4/main_interface.cpp
View file @
6f2c37e4
...
@@ -537,6 +537,8 @@ int MainInterface::privacyDialog( QList<ConfigControl *> controls )
...
@@ -537,6 +537,8 @@ int MainInterface::privacyDialog( QList<ConfigControl *> controls )
CONFIG_GENERIC_NOBOOL
(
"qt-updates-notif"
,
Bool
);
line
++
;
CONFIG_GENERIC_NOBOOL
(
"qt-updates-notif"
,
Bool
);
line
++
;
CONFIG_GENERIC_NOBOOL
(
"qt-updates-days"
,
Integer
);
line
++
;
CONFIG_GENERIC_NOBOOL
(
"qt-updates-days"
,
Integer
);
line
++
;
#endif
#endif
CONFIG_GENERIC
(
"security-policy"
,
IntegerList
);
line
++
;
QPushButton
*
ok
=
new
QPushButton
(
qtr
(
"Ok"
)
);
QPushButton
*
ok
=
new
QPushButton
(
qtr
(
"Ok"
)
);
gLayout
->
addWidget
(
ok
,
2
,
2
);
gLayout
->
addWidget
(
ok
,
2
,
2
);
...
...
modules/gui/qt4/ui/sprefs_interface.ui
View file @
6f2c37e4
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<x>0</x>
<x>0</x>
<y>0</y>
<y>0</y>
<width>483</width>
<width>483</width>
<height>
583
</height>
<height>
617
</height>
</rect>
</rect>
</property>
</property>
<property name="sizePolicy" >
<property name="sizePolicy" >
...
@@ -239,6 +239,16 @@
...
@@ -239,6 +239,16 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="netPolicyLabel" >
<property name="text" >
<string>_("Network policy")</string>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2" >
<widget class="QComboBox" name="netPolicyBox" />
</item>
</layout>
</layout>
</widget>
</widget>
</item>
</item>
...
...
Write
Preview
Markdown
is supported
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