Commit cdc6c123 authored by Laurent Montel's avatar Laurent Montel 😁

It's contenttext

parent 71ae1e58
......@@ -531,7 +531,7 @@ int CalPrintPluginBase::drawBoxWithCaption(QPainter &p, const QRect &allbox,
QString contentText = toPlainText(contents);
p.setFont(textFont);
p.drawText(textBox, Qt::AlignLeft | Qt::AlignTop | Qt::TextSingleLine,
contents);
contentText);
} else {
QTextDocument rtb;
int borderWidth = 2 * BOX_BORDER_WIDTH;
......
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