]> git.sesse.net Git - vlc/commitdiff
Wrap the code and remove unnecessary line.
authorRémi Duraffort <ivoire@videolan.org>
Sat, 9 Feb 2008 09:06:51 +0000 (09:06 +0000)
committerRémi Duraffort <ivoire@videolan.org>
Sat, 9 Feb 2008 09:06:51 +0000 (09:06 +0000)
modules/gui/qt4/dialogs/messages.cpp

index 2d8c640012636d9444f2a0388a2bb16d8977891a..cf4294053a7dcf32ebd0c1f050d8aa3419191ddb 100644 (file)
@@ -98,7 +98,6 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf) :  QVLCFrame( _p_intf )
     QGridLayout *treeLayout = new QGridLayout( treeWidget );
 
     modulesTree = new QTreeWidget();
-    modulesTree->setGeometry( 0, 0, 440, 600 );
     modulesTree->header()->hide();
 
     QPushButton *updateButton = new QPushButton( qtr( "&Update" ) );
@@ -191,9 +190,12 @@ void MessagesDialog::buildTree( QTreeWidgetItem *parentItem, vlc_object_t *p_obj
         item = new QTreeWidgetItem( modulesTree );
 
     if( p_obj->psz_object_name )
-        item->setText( 0, qfu( p_obj->psz_object_type ) + " \"" + qfu( p_obj->psz_object_name ) + "\" (" + QString::number(p_obj->i_object_id) + ")\n" );
+        item->setText( 0, qfu( p_obj->psz_object_type ) + " \"" +
+                       qfu( p_obj->psz_object_name ) + "\" (" +
+                       QString::number(p_obj->i_object_id) + ")\n" );
     else
-        item->setText( 0, qfu( p_obj->psz_object_type ) + " (" + QString::number(p_obj->i_object_id) + ")\n" );
+        item->setText( 0, qfu( p_obj->psz_object_type ) + " (" +
+                       QString::number(p_obj->i_object_id) + ")\n" );
 
     for( int i=0; i < p_obj->i_children; i++ )
     {