Commit c5ef356f authored by Rafaël Carré's avatar Rafaël Carré

qt4: correctly displays utf8 in location bar

parent b158efcf
......@@ -437,7 +437,7 @@ void LocationBar::setIndex( const QModelIndex &index )
{
QToolButton *btn = new QToolButton;
PLItem *item = model->getItem( i );
QString text = input_item_GetTitleFbName( item->inputItem() );
QString text = qfu(input_item_GetTitleFbName( item->inputItem() ));
text = QString("/ ") + metrics.elidedText( text, Qt::ElideRight, 150 );
btn->setText( text );
btn->setToolButtonStyle( Qt::ToolButtonTextBesideIcon );
......
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