Commit 91e0b51e authored by Clément Stenac's avatar Clément Stenac

One more encoding fix

parent f3345344
...@@ -258,8 +258,8 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) : ...@@ -258,8 +258,8 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
module_data->help.clear(); module_data->help.clear();
// TODO image // TODO image
QTreeWidgetItem *module_item = new QTreeWidgetItem(); QTreeWidgetItem *module_item = new QTreeWidgetItem();
module_item->setText( 0, p_module->psz_shortname ? module_item->setText( 0, qfu( p_module->psz_shortname ?
p_module->psz_shortname : p_module->psz_object_name ); p_module->psz_shortname : p_module->psz_object_name) );
//item->setIcon( 0 , XXX ); //item->setIcon( 0 , XXX );
module_item->setData( 0, Qt::UserRole, module_item->setData( 0, Qt::UserRole,
QVariant::fromValue( module_data) ); QVariant::fromValue( module_data) );
......
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