Enable anti-aliasing in the airport diagram
This commit is contained in:
parent
cee943076c
commit
61eae124d4
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue