Commit 0fcfbb64 authored by Scott Wheeler's avatar Scott Wheeler

Make it so that dragging something around automatically turns off sorting.

svn path=/trunk/kdemultimedia/juk/; revision=237512
parent 462c2d2c
......@@ -608,6 +608,11 @@ void Playlist::contentsDropEvent(QDropEvent *e)
// to PlaylistItem.
if(e->source() == this) {
// Since we're trying to arrange things manually, turn off sorting.
setSorting(columns() + 1);
QPtrList<QListViewItem> items = KListView::selectedItems();
for(QPtrListIterator<QListViewItem> it(items); it.current(); ++it) {
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