1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

OP-1653 Qt 5.2.1 backward compatibilty: used QStringLiteral for json value

This commit is contained in:
James Duley 2014-12-19 14:59:41 +13:00
parent aba566c43b
commit f6c9183dbf

View File

@ -119,7 +119,7 @@ void AirframeInitialTuningPage::updateDescription(QJsonObject *templ)
QString description;
description.append("<b>").append(tr("Name of Vehicle: ")).append("</b>").append(templ->value("name").toString()).append("<br>");
description.append("<b>").append(tr("Name of Owner: ")).append("</b>").append(templ->value("owner").toString());
if (templ->value("nick") != "") {
if (templ->value("nick") != QStringLiteral("")) {
description.append(" (").append(templ->value("nick").toString()).append(")");
}
description.append("<br>");