summaryrefslogtreecommitdiffstats
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>2011-05-12 18:56:53 -0300
commit0c4fbcf5aded6780508084604a7f5059d8e7ea72 (patch)
tree9154f77a02131f7c5e26045a33be859ece80e557 /plugins/customwidgets.cpp
parent4d90463624d27fd80b59d68d69ef17e7b1b2e869 (diff)
downloadpyside-0c4fbcf5aded6780508084604a7f5059d8e7ea72.tar.gz
pyside-0c4fbcf5aded6780508084604a7f5059d8e7ea72.tar.xz
pyside-0c4fbcf5aded6780508084604a7f5059d8e7ea72.zip
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 c92b95c..0c43c5b 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)