mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-1653 Qt 5.2.1 backward compatibilty: used QStringLiteral for json value
This commit is contained in:
parent
aba566c43b
commit
f6c9183dbf
@ -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>");
|
||||
|
Loading…
Reference in New Issue
Block a user