Commit 3be66f74 authored by Alessandro Portale's avatar Alessandro Portale Committed by Thomas Hartmann

QmlDesigner: Fix formeditor selection indicatoor on HighDPI

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

Change-Id: If7cce94896a485d34ae23602bb1dc7437cf1c62c
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@theqtcompany.com>
parent ce368046
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment