]> git.sesse.net Git - vlc/commitdiff
One more encoding fix
authorClément Stenac <zorglub@videolan.org>
Wed, 6 Sep 2006 21:03:03 +0000 (21:03 +0000)
committerClément Stenac <zorglub@videolan.org>
Wed, 6 Sep 2006 21:03:03 +0000 (21:03 +0000)
modules/gui/qt4/components/preferences.cpp

index 21dbafa9f8e4065351dedca524011067bdde6935..6393c476317dc34515a26d4ffe3cab38acd2aa08 100644 (file)
@@ -258,8 +258,8 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
         module_data->help.clear();
         // TODO image
         QTreeWidgetItem *module_item = new QTreeWidgetItem();
-        module_item->setText( 0, p_module->psz_shortname ?
-                      p_module->psz_shortname : p_module->psz_object_name );
+        module_item->setText( 0, qfu( p_module->psz_shortname ?
+                      p_module->psz_shortname : p_module->psz_object_name) );
         //item->setIcon( 0 , XXX );
         module_item->setData( 0, Qt::UserRole,
                               QVariant::fromValue( module_data) );