forked from qt-creator/qt-creator
AutoTest: Use new setup pattern for TestNavigationWidgetFactory
Change-Id: I2d2c6f2a3dc8b416dae2e041f358a3f412216d4d Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -76,14 +76,13 @@ using namespace Utils;
|
||||
namespace Autotest {
|
||||
namespace Internal {
|
||||
|
||||
class AutotestPluginPrivate : public QObject
|
||||
class AutotestPluginPrivate final : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
AutotestPluginPrivate();
|
||||
~AutotestPluginPrivate() override;
|
||||
~AutotestPluginPrivate() final;
|
||||
|
||||
TestNavigationWidgetFactory m_navigationWidgetFactory;
|
||||
TestResultsPane *m_resultsPane = nullptr;
|
||||
QMap<QString, ChoicePair> m_runconfigCache;
|
||||
|
||||
@@ -117,6 +116,8 @@ AutotestPlugin::AutotestPlugin()
|
||||
qRegisterMetaType<TestCodeLocationAndType>();
|
||||
// warm up meta type system to be able to read Qt::CheckState with persistent settings
|
||||
qRegisterMetaType<Qt::CheckState>();
|
||||
|
||||
setupTestNavigationWidgetFactory();
|
||||
}
|
||||
|
||||
AutotestPlugin::~AutotestPlugin()
|
||||
|
||||
Reference in New Issue
Block a user