Column widths saving to user settings.
Fixed memory leak in AutoTableModel.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user