diff --git a/src/plugins/autotest/autotestplugin.cpp b/src/plugins/autotest/autotestplugin.cpp index ba40457e1ea..ff8e93f1859 100644 --- a/src/plugins/autotest/autotestplugin.cpp +++ b/src/plugins/autotest/autotestplugin.cpp @@ -172,7 +172,7 @@ AutotestPluginPrivate::AutotestPluginPrivate() AutotestPluginPrivate::~AutotestPluginPrivate() { if (!s_projectSettings.isEmpty()) { - qDeleteAll(s_projectSettings.values()); + qDeleteAll(s_projectSettings); s_projectSettings.clear(); }