summaryrefslogtreecommitdiffstats
path: root/src/opengl/qwindowsurface_gl.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-06-24 07:32:19 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-06-24 07:45:33 (GMT)
commit415c1ee359249e3eb44ff56e6078076d6024afeb (patch)
tree91181a663dff5064308e763a24fdb21b0a357775 /src/opengl/qwindowsurface_gl.cpp
parent57522c3c389c133343c31770950648c3cf271406 (diff)
downloadQt-415c1ee359249e3eb44ff56e6078076d6024afeb.zip
Qt-415c1ee359249e3eb44ff56e6078076d6024afeb.tar.gz
Qt-415c1ee359249e3eb44ff56e6078076d6024afeb.tar.bz2
Say hello to Q_WS_QPA!
Rename Q_WS_LITE -> Q_WS_QPA
Diffstat (limited to 'src/opengl/qwindowsurface_gl.cpp')
-rw-r--r--src/opengl/qwindowsurface_gl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp
index 98455e1..b7629c6 100644
--- a/src/opengl/qwindowsurface_gl.cpp
+++ b/src/opengl/qwindowsurface_gl.cpp
@@ -419,7 +419,7 @@ void QGLWindowSurface::flush(QWidget *widget, const QRegion &rgn, const QPoint &
QWidget *parent = widget->internalWinId() ? widget : widget->nativeParentWidget();
Q_ASSERT(parent);
-#if !defined(Q_WS_LITE)
+#if !defined(Q_WS_QPA)
if (!geometry().isValid())
return;
#else
@@ -648,7 +648,7 @@ void QGLWindowSurface::flush(QWidget *widget, const QRegion &rgn, const QPoint &
}
-#if !defined(Q_WS_LITE)
+#if !defined(Q_WS_QPA)
void QGLWindowSurface::setGeometry(const QRect &rect)
{
QWindowSurface::setGeometry(rect);
@@ -667,7 +667,7 @@ void QGLWindowSurface::updateGeometry() {
return;
d_ptr->geometry_updated = false;
-#ifdef Q_WS_LITE
+#ifdef Q_WS_QPA
QSize surfSize = size();
#else
QSize surfSize = geometry().size();