summaryrefslogtreecommitdiffstats
path: root/mappingtreemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mappingtreemodel.cpp')
-rw-r--r--mappingtreemodel.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/mappingtreemodel.cpp b/mappingtreemodel.cpp
index 9c6be13..650a21d 100644
--- a/mappingtreemodel.cpp
+++ b/mappingtreemodel.cpp
@@ -43,20 +43,6 @@ MappingTreeModel::MappingTreeModel(QStringList &headers, QObject *parent) : SmTr
mDescriptionQ->prepare("SELECT tdescription_name, idescription_id FROM mapping_description WHERE idescription_type = :type");
}
-MappingTreeModel::~MappingTreeModel(){
- delete mTypesQ;
- delete mUpdateTypeQ;
- delete mUpdateChildQ;
- delete mAddMappingTypeQ;
- delete mDeleteMappingTypeQ;
- delete mAddDescriptionQ;
- delete mSelectDescriptionQ;
- delete mAddParentQ;
- delete mUpdateParentQ;
- delete mDescriptionQ;
- mDb = QSqlDatabase();
-}
-
QStringList MappingTreeModel::mappingTypeNames() const {
QStringList retval;
foreach(mappingType t, mMappingTypes){