[vlc-devel] commit: qt4: correctly displays utf8 in location bar ( Rafaël Carré )

git version control git at videolan.org
Thu Jan 28 14:40:33 CET 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Thu Jan 28 14:40:11 2010 +0100| [c5ef356f364d1fd78870cf82c17af01d0bd220d6] | committer: Rafaël Carré 

qt4: correctly displays utf8 in location bar

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c5ef356f364d1fd78870cf82c17af01d0bd220d6
---

 .../gui/qt4/components/playlist/standardpanel.cpp  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index 3a47850..ac2d14c 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -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 );




More information about the vlc-devel mailing list