diff --git a/src/messages/layouts/messagelayout.cpp b/src/messages/layouts/messagelayout.cpp index 658f6ad7c..2ce1a5247 100644 --- a/src/messages/layouts/messagelayout.cpp +++ b/src/messages/layouts/messagelayout.cpp @@ -176,7 +176,7 @@ void MessageLayout::paint(QPainter &painter, int y, int messageIndex, Selection QColor color = isWindowFocused ? themeManager.tabs.selected.backgrounds.regular.color() : themeManager.tabs.selected.backgrounds.unfocused.color(); - QBrush brush(color, Qt::VerPattern); + QBrush brush = QBrush(color, Qt::SolidPattern); painter.fillRect(0, y + this->container.getHeight() - 1, this->container.getWidth(), 1, brush);