From 2defc44300bd18917e6e5e2327ebb72f951ff7b1 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 17 Nov 2012 05:14:56 +0100 Subject: Finally { fix MappingTreeModel }!!! I think I did it! Fixed MappingTreeModel to make it usable, avoid all the traps with the insane column and variable names! Now we can actually have the same mapping with different parents! Yay! Hope it won't come back and bite me! --- mappingtreemodel.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mappingtreemodel.h') diff --git a/mappingtreemodel.h b/mappingtreemodel.h index ad4ff85..90eca8c 100644 --- a/mappingtreemodel.h +++ b/mappingtreemodel.h @@ -90,7 +90,6 @@ class MappingTreeModel : public SmTreeModel { const QString mForbidden; int mType; QSqlError mLastError; - QList mSeen; }; class MappingTreeResultModel : public SmTreeModel { @@ -121,7 +120,7 @@ struct MappingData { bool isValid(); int mappingId; int parentId; - int myId; + int descId; QString name; QList path; }; -- cgit v1.2.3-70-g09d2