mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 05:53:12 -07:00
Fix devicePixelRatio in ServerIconWidget
This commit is contained in:
parent
526286c5d7
commit
5e3a19fccc
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ void ServerIconWidget::paintEvent(QPaintEvent *event)
|
|||
(int)(devicePixelRatioF() * height()),
|
||||
QImage::Format_ARGB32_Premultiplied);
|
||||
{
|
||||
temp_image.setDevicePixelRatio(devicePixelRatioF());
|
||||
temp_image.fill(QColor(0, 0, 0, 0));
|
||||
QPainter temp_painter(&temp_image);
|
||||
render_element(temp_painter, "console");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue