Commit aa4f0a5f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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

This reverts commit cec6c32f.
parent 433c1323
...@@ -587,7 +587,7 @@ void DialogsProvider::saveAPlaylist() ...@@ -587,7 +587,7 @@ void DialogsProvider::saveAPlaylist()
for( size_t i = 0; i < sizeof (types) / sizeof (types[0]); i++ ) 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 ) ) if( ext == qfu( types[i].filter_patterns ) )
filters.insert( 0, tmp ); filters.insert( 0, tmp );
else else
...@@ -621,7 +621,7 @@ void DialogsProvider::saveAPlaylist() ...@@ -621,7 +621,7 @@ void DialogsProvider::saveAPlaylist()
{ {
for( size_t i = 0; i < sizeof (types) / sizeof (types[0]); i++) 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_selected_module = types[i].module;
psz_last_playlist_ext = types[i].filter_patterns; psz_last_playlist_ext = types[i].filter_patterns;
......
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