~neon/juk/master

« back to all changes in this revision

Viewing changes to playlist.cpp

  • Committer: Michael Pyne
  • Date: 2004-08-03 05:42:10 UTC
  • Revision ID: git-v1:b7ae3fa766a65325b9a63295764bfd20e9ab54bf
Fix Create Playlist from Selected Items to actually ask the user for the
playlist name.  This uses a string which was already in JuK, so this shouldn't
affect i18n.

svn path=/trunk/kdemultimedia/juk/; revision=335394

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <kpopupmenu.h>
23
23
#include <klocale.h>
24
24
#include <kdebug.h>
 
25
#include <kinputdialog.h>
25
26
 
26
27
#include <qheader.h>
27
28
#include <qcursor.h>
1864
1865
    SharedSettings::instance()->toggleColumnVisible(column - columnOffset());
1865
1866
}
1866
1867
 
 
1868
void Playlist::slotCreateGroup()
 
1869
{
 
1870
    QString name = m_collection->playlistNameDialog(i18n("Create New Playlist"));
 
1871
 
 
1872
    if(!name.isEmpty())
 
1873
        new Playlist(m_collection, selectedItems(), name);
 
1874
}
 
1875
 
1867
1876
void Playlist::slotColumnSizeChanged(int column, int, int newSize)
1868
1877
{
1869
1878
    m_widthsDirty = true;