summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tablemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tablemodel.cpp')
-rw-r--r--src/gui/widgets/tablemodel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/tablemodel.cpp b/src/gui/widgets/tablemodel.cpp
index 543c50ebd..3b0c3e854 100644
--- a/src/gui/widgets/tablemodel.cpp
+++ b/src/gui/widgets/tablemodel.cpp
@@ -67,7 +67,9 @@ StaticTableModel::StaticTableModel(const int row, const int column) :
TableModel(),
mRows(row),
mColumns(column),
- mHeight(1)
+ mHeight(1),
+ mTableModel(),
+ mWidths()
{
mTableModel.resize(row * column, nullptr);
mWidths.resize(column, 1);