[vlc-commits] Qt4: fix playlist type when saving

Hugo Beauzée-Luyssen git at videolan.org
Wed Sep 7 12:32:21 CEST 2011


vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Wed Sep  7 11:36:46 2011 +0200| [e2b67cfb50281b86009ff3afda4f0549ba301d07] | committer: Jean-Baptiste Kempf

Qt4: fix playlist type when saving

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index 7be9a63..b40d1cc 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -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 );



More information about the vlc-commits mailing list