Commit cb6acf32 authored by Alessandro Portale's avatar Alessandro Portale

Bookmarks: Fix a HighDPI off-by-1 issue in the Bookmarks view

Change-Id: I172d887234ac60ef8eba6c695582cfe41a45d9e9
Reviewed-by: default avatarRobert Loehning <>
Reviewed-by: Eike Ziller's avatarEike Ziller <>
parent 5f53b956
......@@ -202,8 +202,9 @@ void BookmarkDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opti
painter->drawText(6, + fm.ascent() + fm.height() + 6, lineText);
// Separator lines
const QRectF innerRect = QRectF(opt.rect).adjusted(0.5, 0.5, -0.5, -0.5);
painter->drawLine(0, opt.rect.bottom(), opt.rect.right(), opt.rect.bottom());
painter->drawLine(innerRect.bottomLeft(), innerRect.bottomRight());
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