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
842d4437
Commit
842d4437
authored
Jan 08, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Fix Advanced preferences images location...
parent
5a9b7f9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
modules/gui/qt4/components/complete_preferences.cpp
modules/gui/qt4/components/complete_preferences.cpp
+10
-7
No files found.
modules/gui/qt4/components/complete_preferences.cpp
View file @
842d4437
...
...
@@ -60,13 +60,13 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
setHorizontalScrollBarPolicy
(
Qt
::
ScrollBarAlwaysOn
);
#define BI( a,b) QIcon a##_icon = QIcon( QPixmap( b ))
BI
(
audio
,
":/pixmaps/
vlc_
advprefs_audio.png"
);
BI
(
video
,
":/pixmaps/
vlc_
advprefs_video.png"
);
BI
(
input
,
":/pixmaps/
vlc_
advprefs_codec.png"
);
BI
(
sout
,
":/pixmaps/
vlc_
advprefs_sout.png"
);
BI
(
advanced
,
":/pixmaps/
vlc_
advprefs_extended.png"
);
BI
(
playlist
,
":/pixmaps/
vlc_
advprefs_playlist.png"
);
BI
(
interface
,
":/pixmaps/
vlc_
advprefs_intf.png"
);
BI
(
audio
,
":/pixmaps/advprefs_audio.png"
);
BI
(
video
,
":/pixmaps/advprefs_video.png"
);
BI
(
input
,
":/pixmaps/advprefs_codec.png"
);
BI
(
sout
,
":/pixmaps/advprefs_sout.png"
);
BI
(
advanced
,
":/pixmaps/advprefs_extended.png"
);
BI
(
playlist
,
":/pixmaps/advprefs_playlist.png"
);
BI
(
interface
,
":/pixmaps/advprefs_intf.png"
);
#undef BI
/* Build the tree for the main module */
...
...
@@ -132,6 +132,8 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
break
;
case
CONFIG_SUBCATEGORY
:
if
(
p_item
->
value
.
i
==
-
1
)
break
;
/* Special cases: move the main subcategories to the parent cat*/
if
(
data
&&
(
p_item
->
value
.
i
==
SUBCAT_VIDEO_GENERAL
||
p_item
->
value
.
i
==
SUBCAT_ADVANCED_MISC
||
...
...
@@ -155,6 +157,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
QVariant
::
fromValue
(
data
)
);
continue
;
}
data
=
new
PrefsItemData
();
data
->
name
=
QString
(
qtr
(
config_CategoryNameGet
(
p_item
->
value
.
i
))
);
...
...
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