mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
[Radar] Rotate speed indicator with own heading
This commit is contained in:
committed by
Mat Sutcliffe
parent
c187c701d5
commit
be9e2a37f3
@@ -192,7 +192,6 @@ namespace BlackGui
|
|||||||
QPen pen(Qt::green, 1);
|
QPen pen(Qt::green, 1);
|
||||||
pen.setCosmetic(true);
|
pen.setCosmetic(true);
|
||||||
QGraphicsLineItem *li = new QGraphicsLineItem(QLineF({ 0.0, 0.0 }, polarPoint(20.0, headingRad)), dot);
|
QGraphicsLineItem *li = new QGraphicsLineItem(QLineF({ 0.0, 0.0 }, polarPoint(20.0, headingRad)), dot);
|
||||||
li->setFlags(QGraphicsItem::ItemIgnoresTransformations);
|
|
||||||
li->setPen(pen);
|
li->setPen(pen);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user