]> git.mxchange.org Git - flightgear.git/commitdiff
Enable anti-aliasing in the airport diagram
authorJames Turner <zakalawe@mac.com>
Wed, 18 Mar 2015 19:33:14 +0000 (20:33 +0100)
committerJames Turner <zakalawe@mac.com>
Wed, 18 Mar 2015 19:34:10 +0000 (20:34 +0100)
src/GUI/AirportDiagram.cxx

index 46b3c207938783583916d8bacc45a6bd1e11eb62..c460e2878cee9b50ee62db14a37a9486f1f86059 100644 (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