Commit 07014f82 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

QmlJSInspector: Fixed the border around the color icon

It was being drawn one pixel too large, showing some garbage pixels.
parent bd92874c
......@@ -411,8 +411,8 @@ void QmlJSPropertyInspector::setColorIcon(int row)
QPainter p(&colorpix);
p.fillRect(1,1,recomendedLength-2,recomendedLength-2, color);
p.drawRect(0,0,recomendedLength, recomendedLength);
p.drawRect(0, 0, recomendedLength - 1, recomendedLength - 1);
void QmlJSPropertyInspector::contextMenuEvent(QContextMenuEvent *ev)
Supports Markdown
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