summaryrefslogtreecommitdiff
path: root/src/plugins/bookmarks
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2016-05-03 11:49:01 +0200
committerEike Ziller <eike.ziller@qt.io>2016-05-03 11:49:01 +0200
commit0f94aa3f4d8c38d0fb247f2e56b4153b03bc43b9 (patch)
tree092bf6aab0688c0cae20e0d355cc7d75fd614378 /src/plugins/bookmarks
parent5fa52d2ff9a93110cff38cf43c16268515fed937 (diff)
parent9b69b789ab8a7ccc0f7c251f364f232f2a41c7fd (diff)
downloadqt-creator-0f94aa3f4d8c38d0fb247f2e56b4153b03bc43b9.tar.gz
Merge remote-tracking branch 'origin/4.0'
Conflicts: src/plugins/debugger/debuggerruncontrol.cpp src/plugins/projectexplorer/projectwizardpage.cpp src/plugins/projectexplorer/xcodebuildparser.h src/plugins/qmldesigner/qmldesignerplugin.cpp src/tools/clangbackend/ipcsource/translationunits.cpp Change-Id: Ibf0857cf8dbf95fc9ac13d5c2112b3f4a2ca7de6
Diffstat (limited to 'src/plugins/bookmarks')
-rw-r--r--src/plugins/bookmarks/bookmarkmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/bookmarks/bookmarkmanager.cpp b/src/plugins/bookmarks/bookmarkmanager.cpp
index ee92b9ab8e..0083466fef 100644
--- a/src/plugins/bookmarks/bookmarkmanager.cpp
+++ b/src/plugins/bookmarks/bookmarkmanager.cpp
@@ -202,8 +202,9 @@ void BookmarkDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opti
painter->drawText(6, opt.rect.top() + fm.ascent() + fm.height() + 6, lineText);
// Separator lines
+ const QRectF innerRect = QRectF(opt.rect).adjusted(0.5, 0.5, -0.5, -0.5);
painter->setPen(QColor::fromRgb(150,150,150));
- painter->drawLine(0, opt.rect.bottom(), opt.rect.right(), opt.rect.bottom());
+ painter->drawLine(innerRect.bottomLeft(), innerRect.bottomRight());
painter->restore();
}