Qml ColorTip: Remove border

Task-number: QTCREATORBUG-7273
Change-Id: I9a182d9385494a9f67843b8f022bcddbf9669c37
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Daniel Teske
2014-08-07 18:35:50 +02:00
parent 05ee8a8d5d
commit ab9d5ab535

View File

@@ -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);
}