Commit c25ec42f authored by Richard Lärkäng's avatar Richard Lärkäng

Use playlist name as default filename when saving

CCMAIL: 55554-done@bugs.kde.org

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