Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
bc195211
Commit
bc195211
authored
Sep 26, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt, Sprefs: hide the style selection on Win32 and fix it
parent
1a5ed68b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
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
+1
-1
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
bc195211
...
...
@@ -543,7 +543,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
optionWidgets
.
append
(
ui
.
skins
);
optionWidgets
.
append
(
ui
.
qt4
);
#if !defined(
NDEBUG) || !defined(
WIN32)
#if !defined( WIN32)
ui
.
stylesCombo
->
addItem
(
qtr
(
"System's default"
)
);
ui
.
stylesCombo
->
addItems
(
QStyleFactory
::
keys
()
);
ui
.
stylesCombo
->
setCurrentIndex
(
ui
.
stylesCombo
->
findText
(
...
...
@@ -556,6 +556,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
optionWidgets
.
append
(
ui
.
stylesCombo
);
#else
ui
.
stylesCombo
->
hide
();
ui
.
stylesLabel
->
hide
();
optionWidgets
.
append
(
NULL
);
#endif
radioGroup
=
new
QButtonGroup
(
this
);
...
...
modules/gui/qt4/ui/sprefs_interface.ui
View file @
bc195211
...
...
@@ -495,7 +495,7 @@
</widget>
</item>
<item
row=
"5"
column=
"0"
>
<widget
class=
"QLabel"
name=
"
l
abel"
>
<widget
class=
"QLabel"
name=
"
stylesL
abel"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Maximum"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
...
...
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