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
56e063c9
Commit
56e063c9
authored
Nov 22, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 compilation fix
parent
93ec3e57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
modules/gui/qt4/components/preferences.cpp
modules/gui/qt4/components/preferences.cpp
+12
-12
No files found.
modules/gui/qt4/components/preferences.cpp
View file @
56e063c9
...
...
@@ -336,8 +336,6 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
PrefsItemData
*
data
)
:
QWidget
(
_parent
),
p_intf
(
_p_intf
)
{
module_config_t
*
p_item
;
/* Find our module */
module_t
*
p_module
=
NULL
;
if
(
data
->
i_type
==
TYPE_CATEGORY
)
...
...
@@ -351,14 +349,16 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
vlc_object_yield
(
p_module
);
}
if
(
p_module
->
b_submodule
)
p_item
=
((
module_t
*
)
p_module
->
p_parent
)
->
p_config
;
else
p_item
=
p_module
->
p_config
;
module_t
*
p_realmodule
=
p_module
->
b_submodule
?
(
module_t
*
)(
p_module
->
p_parent
)
:
p_module
;
module_config_t
*
p_item
=
p_realmodule
->
p_config
;
module_config_t
*
p_end
=
p_item
+
p_realmodule
->
confsize
;
if
(
data
->
i_type
==
TYPE_SUBCATEGORY
||
data
->
i_type
==
TYPE_CATSUBCAT
)
{
do
while
(
p_item
<
p_end
)
{
if
(
p_item
->
i_type
==
CONFIG_SUBCATEGORY
&&
(
data
->
i_type
==
TYPE_SUBCATEGORY
&&
...
...
@@ -366,8 +366,8 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
(
data
->
i_type
==
TYPE_CATSUBCAT
&&
p_item
->
value
.
i
==
data
->
i_subcat_id
)
)
break
;
if
(
p_item
->
i_type
==
CONFIG_HINT_END
)
break
;
}
while
(
p_item
++
);
p_item
++
;
}
}
global_layout
=
new
QVBoxLayout
();
...
...
@@ -460,11 +460,11 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
else
i_line
++
;
controls
.
append
(
control
);
}
while
(
!
(
p_item
->
i_type
==
CONFIG_HINT_END
||
(
(
data
->
i_type
==
TYPE_SUBCATEGORY
||
while
(
!
(
(
data
->
i_type
==
TYPE_SUBCATEGORY
||
data
->
i_type
==
TYPE_CATSUBCAT
)
&&
(
p_item
->
i_type
==
CONFIG_CATEGORY
||
p_item
->
i_type
==
CONFIG_SUBCATEGORY
)
)
)
&&
p_item
++
);
p_item
->
i_type
==
CONFIG_SUBCATEGORY
)
)
&&
(
++
p_item
<
p_end
)
);
if
(
box
)
{
...
...
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