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
f612fe7e
Commit
f612fe7e
authored
Sep 05, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use vlc_object_get_name()
parent
940efdbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
modules/gui/ncurses.c
modules/gui/ncurses.c
+4
-4
modules/gui/qt4/dialogs/messages.cpp
modules/gui/qt4/dialogs/messages.cpp
+4
-3
No files found.
modules/gui/ncurses.c
View file @
f612fe7e
...
...
@@ -1453,11 +1453,11 @@ static void MainBoxWrite( intf_thread_t *p_intf, int l, int x, const char *p_fmt
static
void
DumpObject
(
intf_thread_t
*
p_intf
,
int
*
l
,
vlc_object_t
*
p_obj
,
int
i_level
)
{
/*if( p_obj->psz_object_name )
const
char
*
psz_name
=
vlc_object_get_name
(
p_obj
);
if
(
psz_name
)
MainBoxWrite
(
p_intf
,
(
*
l
)
++
,
1
+
2
*
i_level
,
"%s
\"
%s
\"
(%p)"
,
p_obj->psz_object_type, p_obj->psz_object_name,
p_obj );
else*/
p_obj
->
psz_object_type
,
psz_name
,
p_obj
);
else
MainBoxWrite
(
p_intf
,
(
*
l
)
++
,
1
+
2
*
i_level
,
"%s (%o)"
,
p_obj
->
psz_object_type
,
p_obj
);
...
...
modules/gui/qt4/dialogs/messages.cpp
View file @
f612fe7e
...
...
@@ -278,11 +278,12 @@ void MessagesDialog::buildTree( QTreeWidgetItem *parentItem,
else
item
=
new
QTreeWidgetItem
(
modulesTree
);
/*if( p_obj->psz_object_name )
const
char
*
name
=
vlc_object_get_name
(
p_obj
);
if
(
name
!=
NULL
)
item
->
setText
(
0
,
qfu
(
p_obj
->
psz_object_type
)
+
"
\"
"
+
qfu(
p_obj->psz_object_
name ) + "\" (" +
qfu
(
name
)
+
"
\"
("
+
QString
::
number
((
uintptr_t
)
p_obj
)
+
")"
);
else
*/
else
item
->
setText
(
0
,
qfu
(
p_obj
->
psz_object_type
)
+
" ("
+
QString
::
number
((
uintptr_t
)
p_obj
)
+
")"
);
...
...
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