Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
88a69655
Commit
88a69655
authored
May 15, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: hide update check preference when !UPDATE_CHECK
Close #6813
parent
81162e72
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
63 deletions
+55
-63
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+2
-1
modules/gui/qt4/ui/sprefs_interface.ui
modules/gui/qt4/ui/sprefs_interface.ui
+53
-62
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
88a69655
...
...
@@ -613,7 +613,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONNECT
(
ui
.
updatesBox
,
toggled
(
bool
),
ui
.
updatesDays
,
setEnabled
(
bool
)
);
#else
ui
.
updateNotifierZone
->
hide
();
ui
.
updatesBox
->
hide
();
ui
.
updatesDays
->
hide
();
#endif
/* ONE INSTANCE options */
#if defined( WIN32 ) || defined( HAVE_DBUS ) || defined(__APPLE__)
...
...
modules/gui/qt4/ui/sprefs_interface.ui
View file @
88a69655
...
...
@@ -71,39 +71,45 @@
<string>
Privacy / Network Interaction
</string>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout_5"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"artFetchLabel"
>
<property
name=
"minimumSize"
>
<item
row=
"2"
column=
"1"
>
<spacer
name=
"horizontalSpacer_2"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeType"
>
<enum>
QSizePolicy::Preferred
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
22
0
</width>
<height>
0
</height>
<width>
4
0
</width>
<height>
2
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Album art download policy:
</string>
</spacer>
</item>
<item
row=
"1"
column=
"3"
>
<widget
class=
"QSpinBox"
name=
"updatesDays"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"buddy"
>
<cstring>
artFetcher
</cstring>
<property
name=
"alignment"
>
<set>
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
</property>
<property
name=
"suffix"
>
<string>
days
</string>
</property>
<property
name=
"prefix"
>
<string>
Every
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"3"
colspan=
"2"
>
<widget
class=
"QComboBox"
name=
"artFetcher"
/>
</item>
<item
row=
"3"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"saveRecentlyPlayed"
>
<property
name=
"minimumSize"
>
<size>
<width>
220
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Save recently played items
</string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"2"
>
<item
row=
"2"
column=
"2"
>
<widget
class=
"QLabel"
name=
"filterLabel"
>
<property
name=
"text"
>
<string>
Filter:
</string>
...
...
@@ -119,7 +125,7 @@
</property>
</widget>
</item>
<item
row=
"
3
"
column=
"3"
colspan=
"2"
>
<item
row=
"
2
"
column=
"3"
colspan=
"2"
>
<widget
class=
"QLineEdit"
name=
"recentlyPlayedFilters"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
...
...
@@ -132,17 +138,8 @@
</property>
</widget>
</item>
<item
row=
"2"
column=
"0"
colspan=
"5"
>
<widget
class=
"QWidget"
name=
"updateNotifierZone"
native=
"true"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
>
<property
name=
"margin"
>
<number>
0
</number>
</property>
</layout>
</widget>
</item>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"updatesBox"
>
<item
row=
"2"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"saveRecentlyPlayed"
>
<property
name=
"minimumSize"
>
<size>
<width>
220
</width>
...
...
@@ -150,44 +147,38 @@
</size>
</property>
<property
name=
"text"
>
<string>
Activate updates notifier
</string>
<string>
Save recently played items
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"3"
>
<widget
class=
"QSpinBox"
name=
"updatesDays"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"artFetchLabel"
>
<property
name=
"minimumSize"
>
<size>
<width>
220
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"
suffix
"
>
<string>
days
</string>
<property
name=
"
text
"
>
<string>
Album art download policy:
</string>
</property>
<property
name=
"
prefix
"
>
<
string>
Every
</
string>
<property
name=
"
buddy
"
>
<
cstring>
artFetcher
</c
string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"1"
>
<spacer
name=
"horizontalSpacer_2"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeType"
>
<enum>
QSizePolicy::Preferred
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"updatesBox"
>
<property
name=
"minimumSize"
>
<size>
<width>
4
0
</width>
<height>
2
0
</height>
<width>
22
0
</width>
<height>
0
</height>
</size>
</property>
</spacer>
<property
name=
"text"
>
<string>
Activate updates notifier
</string>
</property>
</widget>
</item>
</layout>
</widget>
...
...
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