forked from qt-creator/qt-creator
wizards: remove unused variable
Change-Id: Ic6e567360b909c577ac679b6c33565021b65bf9e Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -95,7 +95,6 @@ auto findComboBox(Utils::Wizard *wizard, const QString &objectName) {
|
|||||||
void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsEmptyWizard()
|
void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsEmptyWizard()
|
||||||
{
|
{
|
||||||
QString errorMessage;
|
QString errorMessage;
|
||||||
QWidget parent;
|
|
||||||
const QJsonObject wizard = createGeneralWizard(QJsonObject());
|
const QJsonObject wizard = createGeneralWizard(QJsonObject());
|
||||||
|
|
||||||
JsonWizardFactory *factory = ProjectExplorer::JsonWizardFactory::createWizardFactory(wizard.toVariantMap(), QDir(), &errorMessage);
|
JsonWizardFactory *factory = ProjectExplorer::JsonWizardFactory::createWizardFactory(wizard.toVariantMap(), QDir(), &errorMessage);
|
||||||
@@ -106,7 +105,6 @@ void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsEmptyWizard()
|
|||||||
void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsEmptyPage()
|
void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsEmptyPage()
|
||||||
{
|
{
|
||||||
QString errorMessage;
|
QString errorMessage;
|
||||||
QWidget parent;
|
|
||||||
const QJsonObject pages = createFieldPageJsonObject(QJsonArray());
|
const QJsonObject pages = createFieldPageJsonObject(QJsonArray());
|
||||||
const QJsonObject wizard = createGeneralWizard(pages);
|
const QJsonObject wizard = createGeneralWizard(pages);
|
||||||
|
|
||||||
@@ -134,7 +132,6 @@ void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsUnusedKeyAtFields()
|
|||||||
QString fieldType(QString::fromLatin1(QTest::currentDataTag()));
|
QString fieldType(QString::fromLatin1(QTest::currentDataTag()));
|
||||||
QFETCH(QJsonObject, wrongDataJsonObect);
|
QFETCH(QJsonObject, wrongDataJsonObect);
|
||||||
QString errorMessage;
|
QString errorMessage;
|
||||||
QWidget parent;
|
|
||||||
const QJsonObject pages = QJsonObject{
|
const QJsonObject pages = QJsonObject{
|
||||||
{"name", "testpage"},
|
{"name", "testpage"},
|
||||||
{"trDisplayName", "mytestpage"},
|
{"trDisplayName", "mytestpage"},
|
||||||
|
|||||||
Reference in New Issue
Block a user