summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutoUicInterface/mywidget.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2016-12-06 15:46:16 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-07 13:24:06 (GMT)
commitc2211703d35de8fc24e818680c033503b96167ff (patch)
treea6b903d501c3c8bb074566497cb90800960e318f /Tests/QtAutoUicInterface/mywidget.cpp
parent2da0875f3a8cc91a8355298cc8da0a34f98acf09 (diff)
downloadCMake-c2211703d35de8fc24e818680c033503b96167ff.zip
CMake-c2211703d35de8fc24e818680c033503b96167ff.tar.gz
CMake-c2211703d35de8fc24e818680c033503b96167ff.tar.bz2
QtAutogen: Tests: Don't use std::auto_ptr
Diffstat (limited to 'Tests/QtAutoUicInterface/mywidget.cpp')
-rw-r--r--Tests/QtAutoUicInterface/mywidget.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/QtAutoUicInterface/mywidget.cpp b/Tests/QtAutoUicInterface/mywidget.cpp
index 885165b..7cf1a13 100644
--- a/Tests/QtAutoUicInterface/mywidget.cpp
+++ b/Tests/QtAutoUicInterface/mywidget.cpp
@@ -7,3 +7,8 @@ MyWidget::MyWidget(QWidget* parent)
{
ui->setupUi(this);
}
+
+MyWidget::~MyWidget()
+{
+ delete ui;
+}