From 64673ef1f9936eb9b25fafb860852ca4c347d2fd Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 3 Dec 2018 05:52:45 +0100 Subject: Add copyActor for new pics If we already have an actor, get all mappings for all pics and fill the result view. This only makes sense for actors, but should also work for other items. --- mappingtreemodel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mappingtreemodel.h') diff --git a/mappingtreemodel.h b/mappingtreemodel.h index bf3d583..59338a6 100644 --- a/mappingtreemodel.h +++ b/mappingtreemodel.h @@ -43,6 +43,7 @@ class MappingTreeModel : public SmTreeModel { bool deleteChild(const QModelIndex &idx); MappingData mappingDataFromIndex(QModelIndex &idx) const; MappingData mappingDataFromItem(SmTreeItem *item) const; + QList siblingMappingDataFromId(int id); const QSqlError &lastError() const { return mLastError; } public slots: -- cgit v1.2.3-70-g09d2