From 01b46fe02dbcf122b8c812f516645e22e5445dfb Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 8 Aug 2014 15:15:22 +0200 Subject: Adapt signature of QSGNinePatchNode after internal API changes Change-Id: Icd112816ef5528757a12d03955138316bf7fcda0 Reviewed-by: Lars Knoll --- softwarecontext/ninepatchnode.cpp | 2 +- softwarecontext/ninepatchnode.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/softwarecontext/ninepatchnode.cpp b/softwarecontext/ninepatchnode.cpp index b53b9ed..01b38b7 100644 --- a/softwarecontext/ninepatchnode.cpp +++ b/softwarecontext/ninepatchnode.cpp @@ -27,7 +27,7 @@ void NinePatchNode::setDevicePixelRatio(qreal ratio) } -void NinePatchNode::setPadding(int left, int top, int right, int bottom) +void NinePatchNode::setPadding(qreal left, qreal top, qreal right, qreal bottom) { } diff --git a/softwarecontext/ninepatchnode.h b/softwarecontext/ninepatchnode.h index 5ff7cc4..454aadb 100644 --- a/softwarecontext/ninepatchnode.h +++ b/softwarecontext/ninepatchnode.h @@ -11,7 +11,7 @@ public: virtual void setTexture(QSGTexture *texture); virtual void setBounds(const QRectF &bounds); virtual void setDevicePixelRatio(qreal ratio); - virtual void setPadding(int left, int top, int right, int bottom); + virtual void setPadding(qreal left, qreal top, qreal right, qreal bottom); virtual void update(); void paint(QPainter *painter); -- cgit v1.2.3