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);
setDevicePixelRatio(pixel_ratio);
painter.setPen(color);
painter.setPen(Qt::NoPen);
painter.setBrush(color);
painter.drawEllipse(0, 0, 15 * pixel_ratio, 15 * pixel_ratio);
painter.drawEllipse(0, 0, width(), height());
}
};