aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/customwidgets.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-05-12 18:56:53 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:21 -0300
commit5f80e31958a7d950317f967ad56e9dbc996fa9e3 (patch)
tree18c370f3330568a13abf97a0f84c6f6bb845efd7 /plugins/customwidgets.cpp
parentc8f5fa07fea810e448982f7ebac50533e457aa9c (diff)
Be compatible with Qt4.5, i.e. no QScopedPointer.
Diffstat (limited to 'plugins/customwidgets.cpp')
-rw-r--r--plugins/customwidgets.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/customwidgets.cpp b/plugins/customwidgets.cpp
index c92b95c43..0c43c5b46 100644
--- a/plugins/customwidgets.cpp
+++ b/plugins/customwidgets.cpp
@@ -52,6 +52,7 @@ PyCustomWidgets::PyCustomWidgets(QObject *parent)
PyCustomWidgets::~PyCustomWidgets()
{
+ delete m_data;
}
void PyCustomWidgets::registerWidgetType(PyObject* widget)