forked from qt-creator/qt-creator
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:
committed by
Thomas Hartmann
parent
ce36804665
commit
3be66f7427
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user