summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--softwarecontext/ninepatchnode.cpp2
-rw-r--r--softwarecontext/ninepatchnode.h2
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);