mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 07:22:43 +02:00
Add virtual destructor to TreeNodeBase
Fixes #1131, possibly solves a crash on exit.
This commit is contained in:
parent
58fde3c159
commit
a51c5057ca
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ public:
|
|||
void setParent(TreeNodeFolder* parent) { _parent = parent; }
|
||||
TreeNodeType getType() { return _type; }
|
||||
const QString& getName() { return _name; };
|
||||
virtual ~TreeNodeBase() = default;
|
||||
|
||||
private:
|
||||
TreeNodeFolder* _parent;
|
||||
|
|
Loading…
Reference in a new issue