[vlc-commits] Revert "Qt: save playlist: use qtr() macro"

Rémi Denis-Courmont git at videolan.org
Sat Jan 5 09:17:04 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan  5 10:16:58 2013 +0200| [aa4f0a5f1e000a7db2cbef24d7d7a8871a150133] | committer: Rémi Denis-Courmont

Revert "Qt: save playlist: use qtr() macro"

This reverts commit cec6c32f1eead0c024034db9d6df06852b9dd77a.

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

 modules/gui/qt4/dialogs_provider.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index 2015240..3d47a06 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -587,7 +587,7 @@ void DialogsProvider::saveAPlaylist()
 
     for( size_t i = 0; i < sizeof (types) / sizeof (types[0]); i++ )
     {
-        QString tmp = qtr( types[i].filter_name ) + " (*." + types[i].filter_patterns + ")";
+        QString tmp = qfu( vlc_gettext( types[i].filter_name ) ) + " (*." + types[i].filter_patterns + ")";
         if( ext == qfu( types[i].filter_patterns ) )
             filters.insert( 0, tmp );
         else
@@ -621,7 +621,7 @@ void DialogsProvider::saveAPlaylist()
     {
         for( size_t i = 0; i < sizeof (types) / sizeof (types[0]); i++)
         {
-            if ( selected.startsWith( qtr( types[i].filter_name ) ) )
+            if ( selected.startsWith( vlc_gettext( types[i].filter_name ) ) )
             {
                 psz_selected_module = types[i].module;
                 psz_last_playlist_ext = types[i].filter_patterns;



More information about the vlc-commits mailing list