1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00

Ground: more Q_UNUSED

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1711 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
peabody124 2010-09-21 20:17:55 +00:00 committed by peabody124
parent ef7ee86d45
commit d30c6830e7
2 changed files with 3 additions and 0 deletions

View File

@ -106,6 +106,7 @@ Size MercatorProjectionYandex::GetTileMatrixMaxXY(const int &zoom)
Size MercatorProjectionYandex::GetTileMatrixMinXY(const int &zoom) Size MercatorProjectionYandex::GetTileMatrixMinXY(const int &zoom)
{ {
Q_UNUSED(zoom);
return Size(0, 0); return Size(0, 0);
} }
} }

View File

@ -56,6 +56,8 @@ namespace mapcontrol
void UAVItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) void UAVItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{ {
Q_UNUSED(option);
Q_UNUSED(widget);
// painter->rotate(-90); // painter->rotate(-90);
painter->drawPixmap(-pic.width()/2,-pic.height()/2,pic); painter->drawPixmap(-pic.width()/2,-pic.height()/2,pic);
// painter->drawRect(QRectF(-pic.width()/2,-pic.height()/2,pic.width()-1,pic.height()-1)); // painter->drawRect(QRectF(-pic.width()/2,-pic.height()/2,pic.width()-1,pic.height()-1));