Improve memory management

This commit is contained in:
elecpower
2020-10-22 09:27:34 +11:00
parent af4c5524b1
commit c15dd90986
6 changed files with 13 additions and 7 deletions
+2 -1
View File
@@ -742,7 +742,8 @@ GpsCoord extractGpsCoordinates(const QString & position)
return result;
}
TableLayout::TableLayout(QWidget * parent, int rowCount, const QStringList & headerLabels)
TableLayout::TableLayout(QWidget * parent, int rowCount, const QStringList & headerLabels) :
QObject(parent)
{
#if defined(TABLE_LAYOUT)
tableWidget = new QTableWidget(parent);