From: Joel Holdsworth Date: Sat, 20 Dec 2014 09:53:33 +0000 (+0000) Subject: ViewItem: Make HighlightRadius truly a radius X-Git-Tag: pulseview-0.3.0~343 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=aef68e5ede14e179dcd72eb56f60618931008551;p=pulseview.git ViewItem: Make HighlightRadius truly a radius --- diff --git a/pv/view/viewitem.cpp b/pv/view/viewitem.cpp index b3498ac1..b833b4bb 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); }