mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #190: PageMaster crash + black bubbles instead of bubbles with correct color
This commit is contained in:
@ -107,8 +107,7 @@ void PageItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& opti
|
||||
continue;
|
||||
}
|
||||
|
||||
QColor color;
|
||||
color.fromString(splitted.front());
|
||||
QColor color = QColor::fromString(splitted.front());
|
||||
QRect bubbleRect = pdf::PDFPainterHelper::drawBubble(painter, tagPoint, color, splitted.back(), Qt::AlignLeft | Qt::AlignBottom);
|
||||
tagPoint.ry() += bubbleRect.height() + verticalSpacing;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user