Commit 52284e28 authored by Kåre Särs's avatar Kåre Särs
Browse files

Calculate the height of the search result based on the used font.

parent c517f90c
......@@ -61,6 +61,7 @@ void SPHtmlDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option
QSize SPHtmlDelegate::sizeHint(const QStyleOptionViewItem & /*option*/, const QModelIndex &index) const
QTextDocument doc;
// qDebug() << doc.toPlainText() << doc.size().toSize();
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