From f9d6f809860e352008742db2c6b406e941d30be6 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 7 Jan 2014 11:01:27 -0800 Subject: [PATCH] Couldn't figure out how to get -Wno-#warning into project file Not sure what qmake # escape is. So fixed the problem instead. --- src/ui/map/QGCMapWidget.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/ui/map/QGCMapWidget.cc b/src/ui/map/QGCMapWidget.cc index 89e56c408b..4cb9098d03 100644 --- a/src/ui/map/QGCMapWidget.cc +++ b/src/ui/map/QGCMapWidget.cc @@ -267,15 +267,12 @@ void QGCMapWidget::loadSettings(bool changePosition) if (trailType == mapcontrol::UAVTrailType::ByDistance) { // XXX -#ifdef Q_OS_WIN -#pragma message ("WARNING: Settings loading for trail type not implemented") -#else -#warning Settings loading for trail type not implemented -#endif + qDebug() << "WARNING: Settings loading for trail type (ByDistance) not implemented"; } else if (trailType == mapcontrol::UAVTrailType::ByTimeElapsed) { // XXX + qDebug() << "WARNING: Settings loading for trail type (ByTimeElapsed) not implemented"; } // SET TRAIL TYPE -- GitLab