From f0c2c2cf17c28620355e8dc1f10bfa387d58076e Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 1 Nov 2017 06:57:47 +0100 Subject: [PATCH] ProjectExplorer: Fix compile for Qt <= 5.9 Change-Id: I91371af7733d71cc3f3bcef3caab06a2fde4fd48 Reviewed-by: Orgad Shaneh --- .../projectexplorer/jsonwizard/jsonwizard_test.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp b/src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp index 34b45e28915..39b7480e31a 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp @@ -120,13 +120,13 @@ void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsUnusedKeyAtFields_da const QPair wrongData = {"wrong", false}; QTest::addColumn("wrongDataJsonObect"); - QTest::addRow("Label") << QJsonObject({{wrongData, {"trText", "someText"}}}); - QTest::addRow("Spacer") << QJsonObject({wrongData}); - QTest::addRow("LineEdit") << QJsonObject({wrongData}); - QTest::addRow("TextEdit") << QJsonObject({wrongData}); - QTest::addRow("PathChooser") << QJsonObject({wrongData}); - QTest::addRow("CheckBox") << QJsonObject({wrongData}); - QTest::addRow("ComboBox") << QJsonObject({{wrongData, {"items", QJsonArray()}}}); + QTest::newRow("Label") << QJsonObject({{wrongData, {"trText", "someText"}}}); + QTest::newRow("Spacer") << QJsonObject({wrongData}); + QTest::newRow("LineEdit") << QJsonObject({wrongData}); + QTest::newRow("TextEdit") << QJsonObject({wrongData}); + QTest::newRow("PathChooser") << QJsonObject({wrongData}); + QTest::newRow("CheckBox") << QJsonObject({wrongData}); + QTest::newRow("ComboBox") << QJsonObject({{wrongData, {"items", QJsonArray()}}}); } void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsUnusedKeyAtFields()