[vlc-devel] commit: qt4: refuse file without extension when saving a playlist. ( Rémi Duraffort )
git version control
git at videolan.org
Sat Jan 24 12:59:11 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Jan 24 12:44:25 2009 +0100| [4f697cb6b79ece3000a6ec20179fc748fe21c112] | committer: Rémi Duraffort
qt4: refuse file without extension when saving a playlist.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4f697cb6b79ece3000a6ec20179fc748fe21c112
---
modules/gui/qt4/dialogs_provider.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index 241c59f..65bc820 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -511,8 +511,7 @@ void DialogsProvider::saveAPlaylist()
qfu( p_intf->p_sys->psz_filepath ),
qtr( "XSPF playlist (*.xspf);; " ) +
qtr( "M3U playlist (*.m3u);; " ) +
- qtr( "HTML playlist (*.html);;" ) +
- qtr( "Any (*.*) " ) );
+ qtr( "HTML playlist (*.html)" ) );
qfd->setFileMode( QFileDialog::AnyFile );
qfd->setAcceptMode( QFileDialog::AcceptSave );
qfd->setConfirmOverwrite( true );
More information about the vlc-devel
mailing list