From f295cfb8672d97bb5c804499bdb311a9a0d8039b Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 29 Jun 2014 09:41:30 +0200 Subject: Major rework of MappingTreeResultView + Model Well, I hope this fixes the crashes for good. String comparison for looking up the parents really wasn't a prudent thing to do... Use the ParentIds instead. --- mappingtreewidget.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mappingtreewidget.h') diff --git a/mappingtreewidget.h b/mappingtreewidget.h index 9fe5739..63145fa 100644 --- a/mappingtreewidget.h +++ b/mappingtreewidget.h @@ -36,7 +36,7 @@ class MappingTreeWidget : public QWidget { void addType(); void deleteChild(); void deleteType(); - void selectPath(const QString &path); + void selectPath(const QList &data); protected: virtual void hideEvent(QHideEvent *event); @@ -45,7 +45,7 @@ class MappingTreeWidget : public QWidget { void typeChanged(QString type); void editChild(); void selectionChanged(); - void moveChild(); + //void moveChild(); void filter(); void clearFilter(); @@ -67,7 +67,6 @@ class MappingTreeWidget : public QWidget { QAction *mAddChildA; QAction *mDeleteChildA; QAction *mEditChildA; - QAction *mMoveChildA; }; class MappingTreeView : public SmTreeView { -- cgit v1.2.3-70-g09d2