Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/QmlControls/QGroundControlQmlGlobal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#include <QtGui/QClipboard>
#include <QtGui/QGuiApplication>

#include "qgc_version.h"

#include "QGCLoggingCategory.h"

QGC_LOGGING_CATEGORY(GuidedActionsControllerLog, "QMLControls.GuidedActionsController")
Expand Down Expand Up @@ -294,6 +296,11 @@ QString QGroundControlQmlGlobal::qgcVersion(void)
return versionStr;
}

QString QGroundControlQmlGlobal::qgcAppDate()
{
return QGC_APP_DATE;
}

QString QGroundControlQmlGlobal::altitudeFrameExtraUnits(AltitudeFrame altFrame)
{
switch (altFrame) {
Expand Down Expand Up @@ -381,5 +388,3 @@ QString QGroundControlQmlGlobal::appName()
{
return QCoreApplication::applicationName();
}


3 changes: 1 addition & 2 deletions src/QmlControls/QGroundControlQmlGlobal.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <QtQmlIntegration/QtQmlIntegration>

#include "QmlUnitsConversion.h"
#include "qgc_version.h"

class ADSBVehicleManager;
class FactGroup;
Expand Down Expand Up @@ -194,7 +193,7 @@ class QGroundControlQmlGlobal : public QObject
QString telemetryFileExtension (void) const;

static QString qgcVersion();
static QString qgcAppDate() { return QGC_APP_DATE; }
static QString qgcAppDate();
#ifdef QGC_DAILY_BUILD
static bool qgcDailyBuild() { return true; }
#else
Expand Down
Loading