diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-12-06 15:46:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-07 13:24:06 (GMT) |
commit | c2211703d35de8fc24e818680c033503b96167ff (patch) | |
tree | a6b903d501c3c8bb074566497cb90800960e318f /Tests/QtAutoUicInterface/mywidget.cpp | |
parent | 2da0875f3a8cc91a8355298cc8da0a34f98acf09 (diff) | |
download | CMake-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.cpp | 5 |
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; +} |