forked from qt-creator/qt-creator
valgrind: code cosmetics
Change-Id: I695c7d40aeb0b0b1e6f8cc0856e5fa5d9d1ce2d1 Reviewed-on: http://codereview.qt.nokia.com/1600 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -160,8 +160,7 @@ QRectF FunctionGraphicsTextItem::boundingRect() const
|
||||
}
|
||||
|
||||
FunctionGraphicsItem::FunctionGraphicsItem(const QString &text,
|
||||
qreal x, qreal y, qreal width,
|
||||
qreal height, QGraphicsItem *parent)
|
||||
qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent)
|
||||
: QGraphicsRectItem(x, y, width, height, parent)
|
||||
, m_text(0)
|
||||
{
|
||||
@@ -180,8 +179,7 @@ FunctionGraphicsTextItem *FunctionGraphicsItem::textItem() const
|
||||
}
|
||||
|
||||
void FunctionGraphicsItem::paint(QPainter *painter,
|
||||
const QStyleOptionGraphicsItem *option,
|
||||
QWidget *)
|
||||
const QStyleOptionGraphicsItem *option, QWidget *)
|
||||
{
|
||||
painter->save();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user