AutoTest: Use normal object for settings

Ownership is clear here.

However, since this is accessed via the static plugin interface,
this needed some change that access.

Change-Id: I9488a242442303dee89006240f787677afab730a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-02-28 12:27:13 +01:00
parent 9da71b940a
commit 722705e1e7
6 changed files with 26 additions and 31 deletions

View File

@@ -140,7 +140,7 @@ void TestSettingsWidget::onFrameworkItemChanged()
m_ui.frameworksWarn->setVisible(true);
}
TestSettingsPage::TestSettingsPage(const QSharedPointer<TestSettings> &settings)
TestSettingsPage::TestSettingsPage(TestSettings *settings)
: m_settings(settings)
{
setId("A.AutoTest.0.General");