mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Use a valid value for setWeight
This commit is contained in:
parent
cdb4c55bb2
commit
03da01423d
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ ImageItem::paintEvent(QPaintEvent *event)
|
|||
|
||||
QString elidedText = metrics.elidedText(text_, Qt::ElideRight, width_ - 10);
|
||||
|
||||
font.setWeight(500);
|
||||
font.setWeight(80);
|
||||
painter.setFont(font);
|
||||
painter.setPen(QPen(QColor("white")));
|
||||
painter.drawText(QPoint(5, height_ - fontHeight / 2), elidedText);
|
||||
|
|
Loading…
Reference in a new issue