vlc | branch: master | Rémi Denis-Courmont <[email protected]> | 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; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
