From dc7cc269a4fffe43bdac2ae2dc6548fbd1e3bb5e Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 27 Oct 2012 13:02:16 +0200 Subject: Fix archiving pictures Well, what can I say. Lost in recursion and parent pointers. This commit actually boils down to using the proper database tables and inserting the right values. 'Nuff said... --- mappingtreewidget.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mappingtreewidget.h') diff --git a/mappingtreewidget.h b/mappingtreewidget.h index 600c6d5..50bbddf 100644 --- a/mappingtreewidget.h +++ b/mappingtreewidget.h @@ -23,6 +23,7 @@ class QStringListModel; class QAction; class MappingTreeResultModel; +// defined in mappingtreemodel.h struct MappingData; class MappingTreeWidget : public QWidget { @@ -84,7 +85,7 @@ class MappingEditWidget : public QWidget { Q_OBJECT public: explicit MappingEditWidget(QWidget *parent = 0); - QList mappingIds() const; + const MappingTreeResultModel *model() const { return mResultModel; } public slots: void addMapping(); -- cgit v1.2.3-70-g09d2