Column widths saving to user settings.

Fixed memory leak in AutoTableModel.
This commit is contained in:
2016-03-02 20:33:24 +01:00
parent f49f19783e
commit d108a42b08
4 changed files with 19 additions and 0 deletions
+1
View File
@@ -89,6 +89,7 @@ public:
for (int i = 0; i < entity->metaObject()->propertyCount(); i++) {
if (i == section) {
QString colName(entity->metaObject()->property(i + 1).name());
delete entity;
return tr(colName.toStdString().c_str());
}
}