diff options
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r-- | qt-ui/models.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index 3c455206b..25deca094 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -906,6 +906,7 @@ QVariant TreeItem::data(int column, int role) const TreeModel::TreeModel(QObject *parent) : QAbstractItemModel(parent) { + columns = 0; // I'm not sure about this one - I can't see where it gets initialized rootItem = new TreeItem(); } |