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
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
Show 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 ) :
...
@@ -60,13 +60,13 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
setHorizontalScrollBarPolicy
(
Qt
::
ScrollBarAlwaysOn
);
setHorizontalScrollBarPolicy
(
Qt
::
ScrollBarAlwaysOn
);
#define BI( a,b) QIcon a##_icon = QIcon( QPixmap( b ))
#define BI( a,b) QIcon a##_icon = QIcon( QPixmap( b ))
BI
(
audio
,
":/pixmaps/
vlc_
advprefs_audio.png"
);
BI
(
audio
,
":/pixmaps/advprefs_audio.png"
);
BI
(
video
,
":/pixmaps/
vlc_
advprefs_video.png"
);
BI
(
video
,
":/pixmaps/advprefs_video.png"
);
BI
(
input
,
":/pixmaps/
vlc_
advprefs_codec.png"
);
BI
(
input
,
":/pixmaps/advprefs_codec.png"
);
BI
(
sout
,
":/pixmaps/
vlc_
advprefs_sout.png"
);
BI
(
sout
,
":/pixmaps/advprefs_sout.png"
);
BI
(
advanced
,
":/pixmaps/
vlc_
advprefs_extended.png"
);
BI
(
advanced
,
":/pixmaps/advprefs_extended.png"
);
BI
(
playlist
,
":/pixmaps/
vlc_
advprefs_playlist.png"
);
BI
(
playlist
,
":/pixmaps/advprefs_playlist.png"
);
BI
(
interface
,
":/pixmaps/
vlc_
advprefs_intf.png"
);
BI
(
interface
,
":/pixmaps/advprefs_intf.png"
);
#undef BI
#undef BI
/* Build the tree for the main module */
/* Build the tree for the main module */
...
@@ -132,6 +132,8 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
...
@@ -132,6 +132,8 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
break
;
break
;
case
CONFIG_SUBCATEGORY
:
case
CONFIG_SUBCATEGORY
:
if
(
p_item
->
value
.
i
==
-
1
)
break
;
if
(
p_item
->
value
.
i
==
-
1
)
break
;
/* Special cases: move the main subcategories to the parent cat*/
if
(
data
&&
if
(
data
&&
(
p_item
->
value
.
i
==
SUBCAT_VIDEO_GENERAL
||
(
p_item
->
value
.
i
==
SUBCAT_VIDEO_GENERAL
||
p_item
->
value
.
i
==
SUBCAT_ADVANCED_MISC
||
p_item
->
value
.
i
==
SUBCAT_ADVANCED_MISC
||
...
@@ -155,6 +157,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
...
@@ -155,6 +157,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
QVariant
::
fromValue
(
data
)
);
QVariant
::
fromValue
(
data
)
);
continue
;
continue
;
}
}
data
=
new
PrefsItemData
();
data
=
new
PrefsItemData
();
data
->
name
=
QString
(
qtr
(
config_CategoryNameGet
(
data
->
name
=
QString
(
qtr
(
config_CategoryNameGet
(
p_item
->
value
.
i
))
);
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