diff options
author | Tim Jenssen <tim.jenssen@theqtcompany.com> | 2014-12-18 17:39:27 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-01-06 16:37:44 +0200 |
commit | 0c737c21ff2808a6615b2b433e3d5a9beeda58bb (patch) | |
tree | 434c38b5673ce7548c46fbee36a22dd259c4f34f /plugins | |
parent | b655f70aba37facac064609eb06c2f563fb87aa8 (diff) | |
download | qt-creator-0c737c21ff2808a6615b2b433e3d5a9beeda58bb.tar.gz |
no need of an pointer for settingspage
Change-Id: I55d69bac267f6f601682aeeca9eedcf944e8b55a
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/autotest/autotestplugin.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/autotest/autotestplugin.cpp b/plugins/autotest/autotestplugin.cpp index 66a0e9156b..c202171e54 100644 --- a/plugins/autotest/autotestplugin.cpp +++ b/plugins/autotest/autotestplugin.cpp @@ -120,9 +120,7 @@ bool AutotestPlugin::initialize(const QStringList &arguments, QString *errorStri initializeMenuEntries(); m_settings->fromSettings(Core::ICore::settings()); - TestSettingsPage *settingsPage = new TestSettingsPage(m_settings); - addAutoReleasedObject(settingsPage); - + addAutoReleasedObject(new TestSettingsPage(m_settings)); addAutoReleasedObject(new TestNavigationWidgetFactory); addAutoReleasedObject(TestResultsPane::instance()); |