Fix double click in project tree to show properties

parent 083e1b53
......@@ -287,7 +287,8 @@ ProjectList::ProjectList(QWidget *parent) :
connect(this, SIGNAL(addClip(QString,QString,QString)), this, SLOT(slotAddClip(QString,QString,QString)));
connect(m_listView, SIGNAL(addClipCut(QString,int,int)), this, SLOT(slotAddClipCut(QString,int,int)));
connect(m_listView, SIGNAL(itemChanged(QTreeWidgetItem*,int)), this, SLOT(slotItemEdited(QTreeWidgetItem*,int)));
connect(m_listView, SIGNAL(showProperties(DocClipBase*)), this, SIGNAL(showClipProperties(DocClipBase*)));
connect(m_listView, SIGNAL(showProperties()), this, SLOT(slotEditClip()));
connect(this, SIGNAL(cancelRunningJob(QString,stringMap)), this, SLOT(slotCancelRunningJob(QString,stringMap)));
connect(this, SIGNAL(processLog(QString,int,int,QString)), this, SLOT(slotProcessLog(QString,int,int,QString)));
......
......@@ -397,8 +397,6 @@ private slots:
signals:
void clipSelected(DocClipBase *, const QPoint &zone = QPoint(), bool forceUpdate = false);
void receivedClipDuration(const QString &);
void showClipProperties(DocClipBase *);
void showClipProperties(const QList <DocClipBase *>&, const QMap<QString, QString> &commonproperties);
void projectModified();
void loadingIsOver();
void displayMessage(const QString&, int progress, MessageType type = DefaultMessage);
......
......@@ -245,7 +245,7 @@ void ProjectListView::mouseDoubleClickEvent(QMouseEvent * event)
QTreeWidget::mouseDoubleClickEvent(event);
return;
}
emit showProperties(item->referencedClip());
emit showProperties();
}
......
......@@ -86,7 +86,7 @@ signals:
void requestMenu(const QPoint &, QTreeWidgetItem *);
void addClip();
void addClip(const QList <QUrl> &, const QString &, const QString &);
void showProperties(DocClipBase *);
void showProperties();
void focusMonitor(bool forceRefresh);
void pauseMonitor();
void addClipCut(const QString&, int, int);
......
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