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
8bd54617
Commit
8bd54617
authored
May 16, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: use vlc_list_children
parent
73edaec8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
modules/gui/qt4/dialogs/messages.cpp
modules/gui/qt4/dialogs/messages.cpp
+5
-6
No files found.
modules/gui/qt4/dialogs/messages.cpp
View file @
8bd54617
...
...
@@ -199,7 +199,6 @@ void MessagesDialog::updateLog()
void
MessagesDialog
::
buildTree
(
QTreeWidgetItem
*
parentItem
,
vlc_object_t
*
p_obj
)
{
vlc_object_yield
(
p_obj
);
QTreeWidgetItem
*
item
;
if
(
parentItem
)
...
...
@@ -217,12 +216,11 @@ void MessagesDialog::buildTree( QTreeWidgetItem *parentItem,
item
->
setExpanded
(
true
);
for
(
int
i
=
0
;
i
<
p_obj
->
i_children
;
i
++
)
{
buildTree
(
item
,
p_obj
->
pp_children
[
i
]);
}
vlc_list_t
*
l
=
vlc_list_children
(
p_obj
);
vlc_object_release
(
p_obj
);
for
(
int
i
=
0
;
i
<
l
->
i_count
;
i
++
)
buildTree
(
item
,
l
->
p_values
[
i
].
p_object
);
}
void
MessagesDialog
::
clearOrUpdate
()
...
...
@@ -237,6 +235,7 @@ void MessagesDialog::updateTree()
{
modulesTree
->
clear
();
vlc_object_yield
(
p_intf
->
p_libvlc
);
buildTree
(
NULL
,
VLC_OBJECT
(
p_intf
->
p_libvlc
)
);
}
...
...
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