Commit 1f416db1 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: messages: display hex addresses

parent b4a5e139
...@@ -257,12 +257,12 @@ void MessagesDialog::buildTree( QTreeWidgetItem *parentItem, ...@@ -257,12 +257,12 @@ void MessagesDialog::buildTree( QTreeWidgetItem *parentItem,
item = new QTreeWidgetItem( ui.modulesTree ); item = new QTreeWidgetItem( ui.modulesTree );
char *name = vlc_object_get_name( p_obj ); char *name = vlc_object_get_name( p_obj );
item->setText( 0, QString("%1 \"%2\" (%3)") item->setText( 0, QString("%1%2 (0x%3)")
.arg( qfu( p_obj->psz_object_type ) ) .arg( qfu( p_obj->psz_object_type ) )
.arg( ( name != NULL ) .arg( ( name != NULL )
? QString( " \"%1\"" ).arg( qfu( name ) ) ? QString( " \"%1\"" ).arg( qfu( name ) )
: "" ) : "" )
.arg( QString::number((uintptr_t)p_obj) ) .arg( (uintptr_t)p_obj, 0, 16 )
); );
free( name ); free( name );
item->setExpanded( true ); item->setExpanded( true );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment