Commit ab9d5ab5 authored by Daniel Teske's avatar Daniel Teske
Browse files

Qml ColorTip: Remove border



Task-number: QTCREATORBUG-7273
Change-Id: I9a182d9385494a9f67843b8f022bcddbf9669c37
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 05ee8a8d
......@@ -132,7 +132,7 @@ void ColorTip::paintEvent(QPaintEvent *event)
QPainter painter(this);
painter.setPen(pen);
painter.setBrush(color);
QRect r(1, 1, rect().width() - 2, rect().height() - 2);
QRect r(0, 0, rect().width() - 1, rect().height() - 1);
painter.drawTiledPixmap(r, m_tilePixMap);
painter.drawRect(r);
}
......
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