Commit 561f49c0 authored by Jason Wood's avatar Jason Wood

Made currentSelection const.

svn path=/trunk/kdenlive/; revision=301
parent 85e79c5f
......@@ -95,7 +95,7 @@ void ProjectList::projectListSelectionChanged(QListViewItem *item)
emit AVFileSelected(avitem->clip());
}
const AVFile *ProjectList::currentSelection() const
AVFile *ProjectList::currentSelection()
{
const AVListViewItem *avitem = static_cast<AVListViewItem *>(m_listView->selectedItem());
if(avitem) {
......
......@@ -43,7 +43,7 @@ public:
ProjectList(KdenliveApp *app, KdenliveDoc *document, QWidget *parent=0, const char *name=0);
~ProjectList();
/** Returns the currently selected clip in the project list. */
const AVFile *currentSelection() const;
AVFile *currentSelection();
private: // Private methods
/** Holds the document that this projectlist makes use of. */
KdenliveDoc * m_document;
......
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