From d30c6830e7edc77214cee44105ec42be79d2c3c7 Mon Sep 17 00:00:00 2001 From: peabody124 Date: Tue, 21 Sep 2010 20:17:55 +0000 Subject: [PATCH] Ground: more Q_UNUSED git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1711 ebee16cc-31ac-478f-84a7-5cbb03baadba --- .../src/internals/projections/mercatorprojectionyandex.cpp | 1 + ground/src/libs/opmapcontrol/src/mapwidget/uavitem.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ground/src/libs/opmapcontrol/src/internals/projections/mercatorprojectionyandex.cpp b/ground/src/libs/opmapcontrol/src/internals/projections/mercatorprojectionyandex.cpp index c344b5c45..0a695308d 100644 --- a/ground/src/libs/opmapcontrol/src/internals/projections/mercatorprojectionyandex.cpp +++ b/ground/src/libs/opmapcontrol/src/internals/projections/mercatorprojectionyandex.cpp @@ -106,6 +106,7 @@ Size MercatorProjectionYandex::GetTileMatrixMaxXY(const int &zoom) Size MercatorProjectionYandex::GetTileMatrixMinXY(const int &zoom) { + Q_UNUSED(zoom); return Size(0, 0); } } diff --git a/ground/src/libs/opmapcontrol/src/mapwidget/uavitem.cpp b/ground/src/libs/opmapcontrol/src/mapwidget/uavitem.cpp index b3085f36e..94263474b 100644 --- a/ground/src/libs/opmapcontrol/src/mapwidget/uavitem.cpp +++ b/ground/src/libs/opmapcontrol/src/mapwidget/uavitem.cpp @@ -56,6 +56,8 @@ namespace mapcontrol void UAVItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) { + Q_UNUSED(option); + Q_UNUSED(widget); // painter->rotate(-90); painter->drawPixmap(-pic.width()/2,-pic.height()/2,pic); // painter->drawRect(QRectF(-pic.width()/2,-pic.height()/2,pic.width()-1,pic.height()-1));