View | Details | Raw Unified | Return to bug 6326
Collapse All | Expand All

(-)kdenlive-0.2.4-orig/kdenlive/projectlistview.cpp (+5 lines)
Lines 56-61 Link Here
56
/** returns a drag object which is used for drag operations. */
56
/** returns a drag object which is used for drag operations. */
57
QDragObject *ProjectListView::dragObject()
57
QDragObject *ProjectListView::dragObject()
58
{
58
{
59
  if (0 != (QListViewItem *) selectedItem() ->parent())
60
    {
59
	AVListViewItem *item = (AVListViewItem *)selectedItem();
61
	AVListViewItem *item = (AVListViewItem *)selectedItem();
60
	emit dragStarted(item);
62
	emit dragStarted(item);
61
63
Lines 64-69 Link Here
64
		return 0;
66
		return 0;
65
	}
67
	}
66
	return new ClipDrag(item->clip(), parentWidget(), "drag object");
68
	return new ClipDrag(item->clip(), parentWidget(), "drag object");
69
    }
70
  else
71
    return 0;
67
}
72
}
68
73
69
bool ProjectListView::acceptDrag (QDropEvent* event) const
74
bool ProjectListView::acceptDrag (QDropEvent* event) const

Return to bug 6326