1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2025-01-31 20:41:45 +01:00

Qt: center compat circles

This commit is contained in:
Megamouse 2019-05-04 20:42:07 +02:00
parent 767eaaa82a
commit e883f4f880

View File

@ -82,8 +82,8 @@ public:
QPainter painter(this); QPainter painter(this);
setDevicePixelRatio(pixel_ratio); setDevicePixelRatio(pixel_ratio);
painter.setPen(color); painter.setPen(Qt::NoPen);
painter.setBrush(color); painter.setBrush(color);
painter.drawEllipse(0, 0, 15 * pixel_ratio, 15 * pixel_ratio); painter.drawEllipse(0, 0, width(), height());
} }
}; };