summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-03-07 14:22:23 (GMT)
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-03-07 14:22:23 (GMT)
commit1224e6c3f7bbf361f0be2ff5116b5745cb98fb76 (patch)
tree4255a73758aaa55ad1d9377ec60313c6ca5b7f24
parent3aad7f4fbdf57efa822c044233cf5b0f580b9ccb (diff)
downloadQt-1224e6c3f7bbf361f0be2ff5116b5745cb98fb76.zip
Qt-1224e6c3f7bbf361f0be2ff5116b5745cb98fb76.tar.gz
Qt-1224e6c3f7bbf361f0be2ff5116b5745cb98fb76.tar.bz2
Avoid compiler warnings in openvg on win32.
Reviewed-by: TRUSTME
-rw-r--r--src/openvg/qpaintengine_vg_p.h2
-rw-r--r--src/openvg/qwindowsurface_vgegl.cpp5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/openvg/qpaintengine_vg_p.h b/src/openvg/qpaintengine_vg_p.h
index 85583cc..1e9103b 100644
--- a/src/openvg/qpaintengine_vg_p.h
+++ b/src/openvg/qpaintengine_vg_p.h
@@ -58,7 +58,7 @@
QT_BEGIN_NAMESPACE
-class QFixedPoint;
+struct QFixedPoint;
class QVGPaintEnginePrivate;
class QPixmapData;
class QVGEGLWindowSurfacePrivate;
diff --git a/src/openvg/qwindowsurface_vgegl.cpp b/src/openvg/qwindowsurface_vgegl.cpp
index ca80886..866453f 100644
--- a/src/openvg/qwindowsurface_vgegl.cpp
+++ b/src/openvg/qwindowsurface_vgegl.cpp
@@ -768,6 +768,11 @@ bool QVGEGLWindowSurfaceDirect::scroll(QWidget *widget, const QRegion& area, int
context->lazyDoneCurrent();
return true;
}
+#else
+ Q_UNUSED(widget);
+ Q_UNUSED(area);
+ Q_UNUSED(dx);
+ Q_UNUSED(dy);
#endif
return false;
}