Skip to content
Permalink
Browse files

Fix memory leak

  • Loading branch information
nyalldawson committed Sep 18, 2017
1 parent 01468d0 commit b44cf5d10f7cf1866917a654f2caea3e2508ef31
Showing with 10 additions and 0 deletions.
  1. +5 −0 python/core/layout/qgslayoutundocommand.sip
  2. +5 −0 src/core/layout/qgslayoutundocommand.h
@@ -112,6 +112,11 @@ class QgsLayoutUndoObjectInterface
%End
public:

~QgsLayoutUndoObjectInterface();
%Docstring
Destructor for QgsLayoutUndoObjectInterface.
%End

virtual QgsAbstractLayoutUndoCommand *createCommand( const QString &text, int id = 0, QUndoCommand *parent = 0 ) = 0 /Factory/;
%Docstring
Creates a new layout undo command with the specified ``text`` and ``parent``.
@@ -129,6 +129,11 @@ class CORE_EXPORT QgsLayoutUndoObjectInterface
{
public:

/**
* Destructor for QgsLayoutUndoObjectInterface.
*/
~QgsLayoutUndoObjectInterface() = default;

/**
* Creates a new layout undo command with the specified \a text and \a parent.
*

0 comments on commit b44cf5d

Please sign in to comment.
You can’t perform that action at this time.