1
0
Fork 0

Enable anti-aliasing in the airport diagram

This commit is contained in:
James Turner 2015-03-18 20:33:14 +01:00
parent cee943076c
commit 61eae124d4

View file

@ -97,6 +97,7 @@ void AirportDiagram::addParking(FGParking* park)
void AirportDiagram::paintEvent(QPaintEvent* pe)
{
QPainter p(this);
p.setRenderHints(QPainter::Antialiasing);
p.fillRect(rect(), QColor(0x3f, 0x3f, 0x3f));
// fit bounds within our available space, allowing for a margin