]> git.sesse.net Git - vlc/commitdiff
Qt4: fix playlist type when saving
authorHugo Beauzée-Luyssen <beauze.h@gmail.com>
Wed, 7 Sep 2011 09:36:46 +0000 (11:36 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 7 Sep 2011 10:31:17 +0000 (12:31 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/dialogs_provider.cpp

index 7be9a63b5c887009bec4b7bc07f5848d0bd439c9..b40d1cca60f3eac71f29b625f29a4ef0c89540ba 100644 (file)
@@ -583,7 +583,7 @@ void DialogsProvider::saveAPlaylist()
         return;
 
     for( size_t i = 0; i < sizeof (types) / sizeof (types[0]); i++)
-        if( selected == qfu( vlc_gettext( types[i].filter_name ) ) + " (" + qfu( types[i].filter_patterns ) + ")" )
+        if( selected == qfu( vlc_gettext( types[i].filter_name ) ) + " (*." + qfu( types[i].filter_patterns ) + ")" )
         {
             playlist_Export( THEPL, qtu( toNativeSeparators( file ) ),
                              THEPL->p_playing, types[i].module );