Commit 3571fa4e authored by Ralf Habacker's avatar Ralf Habacker

Fix 'Could not set fill color for message widgets'

BUG:390511
FIXED-IN:2.24.3 (KDE Applications 17.12.3)
parent 56c7b89c
......@@ -376,6 +376,10 @@ void MessageWidget::paintSynchronous(QPainter *painter, const QStyleOptionGraphi
const int boxWidth = 17;
const int wr = w < boxWidth ? w : boxWidth;
const int arrowWidth = 4;
if (UMLWidget::useFillColor())
painter->setBrush(UMLWidget::fillColor());
else
painter->setBrush(m_scene->backgroundColor());
if(isSelf()) {
painter->fillRect(offsetX, offsetY, wr, h, QBrush(Qt::white)); //box
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment