Commit 5afda62a authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5099 from DonLakeFlyer/Fixes

Fixes
parents da811e1a a34dc2f2
......@@ -52,6 +52,7 @@
"type": "double",
"defaultValue": 50.0,
"min": 0.0,
"max": 121.92,
"units": "meters",
"decimalPlaces": 2
},
......
......@@ -190,3 +190,11 @@ void QGCCorePlugin::paletteOverride(QString colorName, QGCPalette::PaletteColorI
Q_UNUSED(colorName);
Q_UNUSED(colorInfo);
}
QString QGCCorePlugin::showAdvancedUIMessage(void) const
{
return tr("WARNING: You are about to enter Advanced Mode. "
"If used incorrectly, this may cause your vehicle to malfunction thus voiding your warranty. "
"You should do so only if instructed by customer support. "
"Are you sure you want to enable Advanced Mode?");
}
......@@ -75,8 +75,7 @@ public:
virtual QString brandImageOutdoor(void) const { return QString(); }
/// @return The message to show to the user when they a re prompted to confirm turning on advanced ui.
virtual QString showAdvancedUIMessage(void) const { return tr("WARNING: You are about to enter Advanced Mode. This may expose features which may cause your vehicle to malfunction. "
"You should do so only if instructed by customer support. Are you sure you want to enable Advanced Mode?"); }
virtual QString showAdvancedUIMessage(void) const;
/// @return An instance of an alternate postion source (or NULL if not available)
virtual QGeoPositionInfoSource* createPositionSource(QObject* parent) { Q_UNUSED(parent); return NULL; }
......
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