Commit c3e04372 authored by Jason Wood's avatar Jason Wood

The start of a drag event now triggers a projectlist selection has changed...

The start of a drag event now triggers a projectlist selection has changed message - this means that the clip monitor can be updated.

svn path=/trunk/kdenlive/; revision=238
parent 1ac54136
......@@ -41,10 +41,10 @@ ProjectList::ProjectList(KdenliveApp *app, KdenliveDoc *document, QWidget *paren
if(!document) {
kdError() << "ProjectList created with no document - expect a crash shortly" << endl;
}
m_document = document;
m_listView->setDocument(document);
connect (m_listView, SIGNAL(dragDropOccured(QDropEvent *)), this, SIGNAL(dragDropOccured(QDropEvent *)));
m_menu = (QPopupMenu *)app->factory()->container("projectlist_context", app);
......@@ -53,6 +53,7 @@ ProjectList::ProjectList(KdenliveApp *app, KdenliveDoc *document, QWidget *paren
this, SLOT(rightButtonPressed ( QListViewItem *, const QPoint &, int )));
connect(m_listView, SIGNAL(executed(QListViewItem *)), this, SLOT(projectListSelectionChanged(QListViewItem *)));
connect(m_listView, SIGNAL(dragStarted(QListViewItem *)), this, SLOT(projectListSelectionChanged(QListViewItem *)));
}
ProjectList::~ProjectList()
......
......@@ -21,7 +21,7 @@
#include "projectlist_ui.h"
#include <projectlistview.h>
#include <qlist.h>
#include <qvaluelist.h>
#include <qpopupmenu.h>
#include <qevent.h>
......
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