summaryrefslogtreecommitdiffstats
path: root/mappingtreemodel.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2012-11-17 05:14:56 +0100
committerArno <am@disconnect.de>2012-11-17 05:14:56 +0100
commit2defc44300bd18917e6e5e2327ebb72f951ff7b1 (patch)
tree0f8e622deb1ae29d36113fe49a1758e5164278ae /mappingtreemodel.h
parent23692f9a516c21676829275c82b415957fc2dec3 (diff)
downloadSheMov-2defc44300bd18917e6e5e2327ebb72f951ff7b1.tar.gz
SheMov-2defc44300bd18917e6e5e2327ebb72f951ff7b1.tar.bz2
SheMov-2defc44300bd18917e6e5e2327ebb72f951ff7b1.zip
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!
Diffstat (limited to 'mappingtreemodel.h')
-rw-r--r--mappingtreemodel.h3
1 files changed, 1 insertions, 2 deletions
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<QVariant> mSeen;
};
class MappingTreeResultModel : public SmTreeModel {
@@ -121,7 +120,7 @@ struct MappingData {
bool isValid();
int mappingId;
int parentId;
- int myId;
+ int descId;
QString name;
QList<QStringList> path;
};