diff options
author | Nikolaos Korkakakis <nikolaos.korkakakis@diasemi.com> | 2011-07-26 14:32:46 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-07-26 14:34:20 (GMT) |
commit | 07565b925cb92f9d28ae4586f112e0ed52d2c451 (patch) | |
tree | 513102874c990a1eb089052d189ca127ad8e56cd /src/openvg/qwindowsurface_vg.cpp | |
parent | 2fa986aa670bee0fafb30241f40bb3556594e32b (diff) | |
download | Qt-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.cpp | 7 |
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 ®ion, 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) { |