Use ints for colors instead of string literals

This commit is contained in:
Luis Ángel San Martín
2021-09-30 22:01:07 +02:00
parent d8cb61314d
commit cc927de7de
7 changed files with 7 additions and 7 deletions

View File

@ -47,7 +47,7 @@ void NotificationsLabelWidget::paintEvent(QPaintEvent *)
QPainterPath path;
path.addRoundedRect(QRectF(0, 0, width(), height()), 5.0, 5.0);
painter.setPen(Qt::NoPen);
painter.fillPath(path, QColor("#BB000000"));
painter.fillPath(path, QColor(0xBB000000));
painter.drawPath(path);
}