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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-08-05 15:47:02 -07:00
parent d960ac4039
commit ebf1b8f624

View file

@ -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);
}