From aef68e5ede14e179dcd72eb56f60618931008551 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sat, 20 Dec 2014 09:53:33 +0000 Subject: [PATCH] ViewItem: Make HighlightRadius truly a radius --- pv/view/viewitem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pv/view/viewitem.cpp b/pv/view/viewitem.cpp index b3498ac..b833b4b 100644 --- a/pv/view/viewitem.cpp +++ b/pv/view/viewitem.cpp @@ -29,7 +29,7 @@ namespace pv { namespace view { -const int ViewItem::HighlightRadius = 6; +const int ViewItem::HighlightRadius = 3; ViewItem::ViewItem() : context_parent_(NULL), @@ -81,7 +81,7 @@ void ViewItem::delete_pressed() QPen ViewItem::highlight_pen() { return QPen(QApplication::palette().brush( - QPalette::Highlight), HighlightRadius, + QPalette::Highlight), HighlightRadius * 2, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin); } -- 2.30.2