summaryrefslogtreecommitdiffstats
path: root/src/openvg/qwindowsurface_vg.cpp
diff options
context:
space:
mode:
authorNikolaos Korkakakis <nikolaos.korkakakis@diasemi.com>2011-07-26 14:32:46 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-07-26 14:34:20 (GMT)
commit07565b925cb92f9d28ae4586f112e0ed52d2c451 (patch)
tree513102874c990a1eb089052d189ca127ad8e56cd /src/openvg/qwindowsurface_vg.cpp
parent2fa986aa670bee0fafb30241f40bb3556594e32b (diff)
downloadQt-07565b925cb92f9d28ae4586f112e0ed52d2c451.zip
Qt-07565b925cb92f9d28ae4586f112e0ed52d2c451.tar.gz
Qt-07565b925cb92f9d28ae4586f112e0ed52d2c451.tar.bz2
OpenVG cleanup.
Changes needed to reflect the updates in the QWindowSurface. Merge-request: 1309 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/openvg/qwindowsurface_vg.cpp')
-rw-r--r--src/openvg/qwindowsurface_vg.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/openvg/qwindowsurface_vg.cpp b/src/openvg/qwindowsurface_vg.cpp
index 778e14c..2935316 100644
--- a/src/openvg/qwindowsurface_vg.cpp
+++ b/src/openvg/qwindowsurface_vg.cpp
@@ -93,10 +93,17 @@ void QVGWindowSurface::flush(QWidget *widget, const QRegion &region, const QPoin
d_ptr->endPaint(parent, region);
}
+#if !defined(Q_WS_QPA)
void QVGWindowSurface::setGeometry(const QRect &rect)
{
QWindowSurface::setGeometry(rect);
}
+#else
+void QVGWindowSurface::resize(const QSize &size)
+{
+ QWindowSurface::resize(size);
+}
+#endif //!Q_WS_QPA
bool QVGWindowSurface::scroll(const QRegion &area, int dx, int dy)
{