QmlDesigner: Fix formeditor selection indicatoor on HighDPI

Make it a real reactangle, without worn-out corners.

Change-Id: If7cce94896a485d34ae23602bb1dc7437cf1c62c
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
Alessandro Portale
2016-07-25 17:57:55 +02:00
committed by Thomas Hartmann
parent ce36804665
commit 3be66f7427

View File

@@ -91,6 +91,7 @@ void SelectionIndicator::setItems(const QList<FormEditorItem*> &itemList)
newSelectionIndicatorGraphicsItem->setFlag(QGraphicsItem::ItemIsSelectable, false);
QPen pen;
pen.setJoinStyle(Qt::MiterJoin);
pen.setColor(QColor(108, 141, 221));
newSelectionIndicatorGraphicsItem->setPen(pen);
newSelectionIndicatorGraphicsItem->setCursor(m_cursor);