Commit f537632c authored by Nadeem Hasan's avatar Nadeem Hasan

Use KInputDialog. Fixes a bug where one could create a playlist with all spaces in the name.

svn path=/trunk/kdemultimedia/juk/; revision=239730
parent 5b1ad245
......@@ -17,7 +17,7 @@
#include <kstandarddirs.h>
#include <kmessagebox.h>
#include <klineeditdlg.h>
#include <kinputdialog.h>
#include <kcmdlineargs.h>
#include <kdebug.h>
......@@ -301,7 +301,7 @@ Playlist *PlaylistSplitter::slotCreatePlaylist()
// If this text is changed, please also change it in PlaylistBox::duplicate().
QString name = KLineEditDlg::getText(i18n("Create New Playlist"),
QString name = KInputDialog::getText(i18n("Create New Playlist"),
i18n("Please enter a name for the new playlist:"),
uniquePlaylistName(), &ok);
if(ok)
......
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