Commit ce3b595c authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.rewriter: fixing memory leak

The destructor has to be virtual to avoid
a memory leak.

Reviewed-by: Roberto Raggi
parent c23721c8
......@@ -65,6 +65,7 @@ public:
virtual RemovePropertyRewriteAction *asRemovePropertyRewriteAction() { return 0; }
virtual ReparentNodeRewriteAction *asReparentNodeRewriteAction() { return 0; }
virtual MoveNodeRewriteAction *asMoveNodeRewriteAction() { return 0; }
virtual ~RewriteAction() {}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment