Commit e72d913a authored by Scott Wheeler's avatar Scott Wheeler

Add a .m3u to the end of the default file name

svn path=/trunk/kdemultimedia/juk/; revision=212355
parent c25ec42f
......@@ -121,7 +121,8 @@ void Playlist::saveAs()
{
QStringList extensions = PlaylistSplitter::playlistExtensions();
m_playlistFileName = KFileDialog::getSaveFileName(name(), PlaylistSplitter::extensionsString(extensions, i18n("Playlists")));
m_playlistFileName = KFileDialog::getSaveFileName(name() + "." + PlaylistSplitter::playlistExtensions().first(),
PlaylistSplitter::extensionsString(extensions, i18n("Playlists")));
m_playlistFileName = m_playlistFileName.stripWhiteSpace();
if(m_playlistFileName != QString::null) {
......
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