[Radar] Rotate speed indicator with own heading

This commit is contained in:
Klaus Basan
2019-11-08 19:55:13 +01:00
committed by Mat Sutcliffe
parent c187c701d5
commit be9e2a37f3

View File

@@ -192,7 +192,6 @@ namespace BlackGui
QPen pen(Qt::green, 1);
pen.setCosmetic(true);
QGraphicsLineItem *li = new QGraphicsLineItem(QLineF({ 0.0, 0.0 }, polarPoint(20.0, headingRad)), dot);
li->setFlags(QGraphicsItem::ItemIgnoresTransformations);
li->setPen(pen);
}
}