Commit 7b358356 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fixup rendering

parent 5caa244a
......@@ -34,6 +34,9 @@ static void setupText(QTextDocument &doc, const QModelIndex &index)
void KateOutputMessageStyledDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
// ensure we recover state
QStyleOptionViewItem options = option;
initStyleOption(&options, index);
......@@ -52,6 +55,9 @@ void KateOutputMessageStyledDelegate::paint(QPainter *painter, const QStyleOptio
QTextDocument doc;
setupText(doc, index);
// ensure we recover state
QSize KateOutputMessageStyledDelegate::sizeHint(const QStyleOptionViewItem &, const QModelIndex &index) const
Supports Markdown
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