From ebf1b8f62443cb83e97eb2bfce3187eb33f237c2 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 5 Aug 2014 15:47:02 -0700 Subject: Make the cross hair less obnoxious on Mac While on Linux it was drawn as fine 1px line, on Mac it came out rather fat and obnoxious by default. With this it's always set to a very thin line. This still needs more work, but let's leave it where it is for Beta 5. Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'qt-ui/profile/profilewidget2.cpp') diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index b19ca81e1..78e5eb277 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -162,8 +162,10 @@ void ProfileWidget2::addItemsToScene() scene()->addItem(rulerItem->destNode()); scene()->addItem(mouseFollowerHorizontal); scene()->addItem(mouseFollowerVertical); - mouseFollowerHorizontal->setPen(QPen(QColor(Qt::red).lighter())); - mouseFollowerVertical->setPen(QPen(QColor(Qt::red).lighter())); + QPen pen(QColor(Qt::red).lighter()); + pen.setWidth(0); + mouseFollowerHorizontal->setPen(pen); + mouseFollowerVertical->setPen(pen); Q_FOREACH (DiveCalculatedTissue *tissue, allTissues) { scene()->addItem(tissue); } -- cgit v1.2.3-70-g09d2