Commit 4f697cb6 authored by Rémi Duraffort's avatar Rémi Duraffort

qt4: refuse file without extension when saving a playlist.

parent f824e55b
...@@ -511,8 +511,7 @@ void DialogsProvider::saveAPlaylist() ...@@ -511,8 +511,7 @@ void DialogsProvider::saveAPlaylist()
qfu( p_intf->p_sys->psz_filepath ), qfu( p_intf->p_sys->psz_filepath ),
qtr( "XSPF playlist (*.xspf);; " ) + qtr( "XSPF playlist (*.xspf);; " ) +
qtr( "M3U playlist (*.m3u);; " ) + qtr( "M3U playlist (*.m3u);; " ) +
qtr( "HTML playlist (*.html);;" ) + qtr( "HTML playlist (*.html)" ) );
qtr( "Any (*.*) " ) );
qfd->setFileMode( QFileDialog::AnyFile ); qfd->setFileMode( QFileDialog::AnyFile );
qfd->setAcceptMode( QFileDialog::AcceptSave ); qfd->setAcceptMode( QFileDialog::AcceptSave );
qfd->setConfirmOverwrite( true ); qfd->setConfirmOverwrite( true );
......
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