Commit d318b18c authored by Alessandro Portale's avatar Alessandro Portale Committed by Tim Jenssen
Browse files

QmlDesigner: Fix Selection rubberband on HighDPI

For HighDPI, it is necessary to set the join style. We need MiterJoin in
order not to have a rectangle which has two corners rounded.

This should not have any effect on non-HighDPI systems.

Change-Id: I6e5898c2424cf6f313c45982571b8b0c9940458b
Reviewed-by: Tim Jenssen's avatarTim Jenssen <>
parent 09a965cf
......@@ -36,7 +36,9 @@ SelectionRectangle::SelectionRectangle(LayerItem *layerItem)
: m_controlShape(new QGraphicsRectItem(layerItem)),
QPen pen(Qt::black);
m_controlShape->setBrush(QColor(128, 128, 128, 50));
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