From f6c9183dbf67c1d301cedca41d542aedac9c546f Mon Sep 17 00:00:00 2001 From: James Duley Date: Fri, 19 Dec 2014 14:59:41 +1300 Subject: [PATCH] OP-1653 Qt 5.2.1 backward compatibilty: used QStringLiteral for json value --- .../src/plugins/setupwizard/pages/airframeinitialtuningpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground/openpilotgcs/src/plugins/setupwizard/pages/airframeinitialtuningpage.cpp b/ground/openpilotgcs/src/plugins/setupwizard/pages/airframeinitialtuningpage.cpp index 13e012bf0..0d279385a 100644 --- a/ground/openpilotgcs/src/plugins/setupwizard/pages/airframeinitialtuningpage.cpp +++ b/ground/openpilotgcs/src/plugins/setupwizard/pages/airframeinitialtuningpage.cpp @@ -119,7 +119,7 @@ void AirframeInitialTuningPage::updateDescription(QJsonObject *templ) QString description; description.append("").append(tr("Name of Vehicle: ")).append("").append(templ->value("name").toString()).append("
"); description.append("").append(tr("Name of Owner: ")).append("").append(templ->value("owner").toString()); - if (templ->value("nick") != "") { + if (templ->value("nick") != QStringLiteral("")) { description.append(" (").append(templ->value("nick").toString()).append(")"); } description.append("
");