forked from qt-creator/qt-creator
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:
@@ -29,8 +29,6 @@
|
||||
|
||||
#include <extensionsystem/iplugin.h>
|
||||
|
||||
#include <QMap>
|
||||
|
||||
namespace ProjectExplorer {
|
||||
class Project;
|
||||
class RunConfiguration;
|
||||
@@ -65,7 +63,7 @@ public:
|
||||
void extensionsInitialized() override;
|
||||
ShutdownFlag aboutToShutdown() override;
|
||||
|
||||
static QSharedPointer<TestSettings> settings();
|
||||
static TestSettings *settings();
|
||||
static TestProjectSettings *projectSettings(ProjectExplorer::Project *project);
|
||||
static void updateMenuItemsEnabledState();
|
||||
static void cacheRunConfigChoice(const QString &buildTargetKey, const ChoicePair &choice);
|
||||
@@ -75,8 +73,6 @@ public:
|
||||
|
||||
private:
|
||||
QVector<QObject *> createTestObjects() const override;
|
||||
class AutotestPluginPrivate *d = nullptr;
|
||||
const QSharedPointer<TestSettings> m_settings;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user