Commit d7692ead authored by Don Gagne's avatar Don Gagne

parent 091fd77e
......@@ -248,3 +248,14 @@ void QGroundControlQmlGlobal::setFlightMapZoom(double zoom)
emit flightMapZoomChanged(zoom);
}
}
QString QGroundControlQmlGlobal::qgcVersion(void) const
{
QString versionStr = qgcApp()->applicationVersion();
#ifdef __androidArm32__
versionStr += QStringLiteral(" %1").arg(tr("32 bit"));
#elif __androidArm64__
versionStr += QStringLiteral(" %1").arg(tr("64 bit"));
#endif
return versionStr;
}
......@@ -227,11 +227,11 @@ public:
void setFlightMapPosition (QGeoCoordinate& coordinate);
void setFlightMapZoom (double zoom);
QString parameterFileExtension(void) const { return AppSettings::parameterFileExtension; }
QString missionFileExtension(void) const { return AppSettings::missionFileExtension; }
QString telemetryFileExtension(void) const { return AppSettings::telemetryFileExtension; }
QString parameterFileExtension (void) const { return AppSettings::parameterFileExtension; }
QString missionFileExtension (void) const { return AppSettings::missionFileExtension; }
QString telemetryFileExtension (void) const { return AppSettings::telemetryFileExtension; }
QString qgcVersion(void) const { return qgcApp()->applicationVersion(); }
QString qgcVersion (void) const;
#if defined(QGC_AIRMAP_ENABLED)
bool airmapSupported() { return true; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment