diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-06 21:45:41 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-06 21:45:41 +0200 |
| commit | cbc17bd39f4ef245183e5a54509ff3fbd4125ca6 (patch) | |
| tree | bf35bd5f6a64a22fe002316d0d311a3b5f4107ab /documentoutlinemodel.hpp | |
| parent | eb283439a68dfb70a075205859d891dca831626b (diff) | |
| download | kristall-cbc17bd39f4ef245183e5a54509ff3fbd4125ca6.tar.gz | |
Fixes bug in outline generation, adds application icon to mainwindow, adds more README, adds save settings on closing settings dialog.
Diffstat (limited to 'documentoutlinemodel.hpp')
| -rw-r--r-- | documentoutlinemodel.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/documentoutlinemodel.hpp b/documentoutlinemodel.hpp index e10163b..2161c42 100644 --- a/documentoutlinemodel.hpp +++ b/documentoutlinemodel.hpp @@ -2,6 +2,7 @@ #define DOCUMENTOUTLINEMODEL_HPP #include <QAbstractItemModel> +#include <QList> class DocumentOutlineModel : public QAbstractItemModel @@ -39,7 +40,8 @@ private: Node * parent; QString title; int depth = 0; - QVector<Node> children; + int index = 0; + QList<Node> children; }; Node root; |
