From 07d05f3390f95f5d320039e647ebace40b437895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= <thorbjorn.lindeijer@nokia.com> Date: Wed, 30 Sep 2009 17:57:30 +0200 Subject: [PATCH] Fixed the size of the checkboxes in the search results Reviewed-by: Roberto Raggi --- src/plugins/find/searchresulttreeitemdelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/find/searchresulttreeitemdelegate.cpp b/src/plugins/find/searchresulttreeitemdelegate.cpp index 84d230d4b35..5502069a177 100644 --- a/src/plugins/find/searchresulttreeitemdelegate.cpp +++ b/src/plugins/find/searchresulttreeitemdelegate.cpp @@ -77,7 +77,7 @@ void SearchResultTreeItemDelegate::paint(QPainter *painter, const QStyleOptionVi QRect emptyRect; doLayout(opt, &checkRect, &emptyRect, &emptyRect, false); - QItemDelegate::drawCheck(painter, opt, opt.rect, checkState); + QItemDelegate::drawCheck(painter, opt, checkRect, checkState); } painter->restore(); -- GitLab