Commit cec6c32f authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: save playlist: use qtr() macro

parent 2283cdda
...@@ -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 = qfu( vlc_gettext( types[i].filter_name ) ) + " (*." + types[i].filter_patterns + ")"; QString tmp = qtr( 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( vlc_gettext( types[i].filter_name ) ) ) if ( selected.startsWith( qtr( 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