diff options
author | Tim Jenssen <tim.jenssen@qt.io> | 2017-11-15 00:50:59 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2017-11-15 09:55:28 +0000 |
commit | 43481d88daab38852ddbe3eb924480751eed459a (patch) | |
tree | 4d70b70a67b49947a9bc3b56722eff74a375d306 /src/plugins/projectexplorer/jsonwizard | |
parent | ee8580009d1b1aa7d5f3bf4020f0ccee70b82ad0 (diff) |
wizards: remove unused variable
Change-Id: Ic6e567360b909c577ac679b6c33565021b65bf9e
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/jsonwizard')
-rw-r--r-- | src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp b/src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp index bc8ec7ac92..1b8b84d8c8 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp @@ -95,7 +95,6 @@ auto findComboBox(Utils::Wizard *wizard, const QString &objectName) { void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsEmptyWizard() { QString errorMessage; - QWidget parent; const QJsonObject wizard = createGeneralWizard(QJsonObject()); JsonWizardFactory *factory = ProjectExplorer::JsonWizardFactory::createWizardFactory(wizard.toVariantMap(), QDir(), &errorMessage); @@ -106,7 +105,6 @@ void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsEmptyWizard() void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsEmptyPage() { QString errorMessage; - QWidget parent; const QJsonObject pages = createFieldPageJsonObject(QJsonArray()); const QJsonObject wizard = createGeneralWizard(pages); @@ -134,7 +132,6 @@ void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsUnusedKeyAtFields() QString fieldType(QString::fromLatin1(QTest::currentDataTag())); QFETCH(QJsonObject, wrongDataJsonObect); QString errorMessage; - QWidget parent; const QJsonObject pages = QJsonObject{ {"name", "testpage"}, {"trDisplayName", "mytestpage"}, |