[vlc-devel] commit: qt4: we need qtr() else we have encoding problems ( Christophe Mutricy )

git version control git at videolan.org
Fri May 8 12:48:45 CEST 2009


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Fri May  8 12:44:31 2009 +0200| [43dd12e475885c55f98d7e7304a88ab2c414e697] | committer: Christophe Mutricy 

qt4: we need qtr() else we have encoding problems

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

 modules/gui/qt4/dialogs/plugins.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/dialogs/plugins.cpp b/modules/gui/qt4/dialogs/plugins.cpp
index 886bc70..e8fa2df 100644
--- a/modules/gui/qt4/dialogs/plugins.cpp
+++ b/modules/gui/qt4/dialogs/plugins.cpp
@@ -57,7 +57,7 @@ PluginDialog::PluginDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
     treePlugins->setColumnWidth( 0, 200 );
 
     QStringList headerNames;
-    headerNames << _("Name") << _("Capability" ) << _( "Score" );
+    headerNames << qtr("Name") << qtr("Capability" ) << qtr( "Score" );
     treePlugins->setHeaderLabels( headerNames );
 
     FillTree();
@@ -70,7 +70,7 @@ PluginDialog::PluginDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
     treePlugins->setSortingEnabled( true );
     treePlugins->sortByColumn( 1, Qt::AscendingOrder );
 
-    QLabel *label = new QLabel( _("&Search:"), this );
+    QLabel *label = new QLabel( qtr("&Search:"), this );
     edit = new SearchLineEdit( this );
     label->setBuddy( edit );
 




More information about the vlc-devel mailing list