summaryrefslogtreecommitdiffstats
path: root/src/opengl/qwindowsurface_gl.cpp
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2010-12-14 09:28:26 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-12-14 09:28:26 (GMT)
commit4d93a606ea0438be8062fda82baf639a9ced78ba (patch)
tree3e22c47f947c6d70cab78f124826183515ef5bbe /src/opengl/qwindowsurface_gl.cpp
parent284211ccbd2cbdfea46cdf4b8628a1a967271985 (diff)
downloadQt-4d93a606ea0438be8062fda82baf639a9ced78ba.zip
Qt-4d93a606ea0438be8062fda82baf639a9ced78ba.tar.gz
Qt-4d93a606ea0438be8062fda82baf639a9ced78ba.tar.bz2
Trivial: Fix coding style
Fix coding style of merge request
Diffstat (limited to 'src/opengl/qwindowsurface_gl.cpp')
-rw-r--r--src/opengl/qwindowsurface_gl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp
index 6749826..7dc7dc7 100644
--- a/src/opengl/qwindowsurface_gl.cpp
+++ b/src/opengl/qwindowsurface_gl.cpp
@@ -521,7 +521,7 @@ void QGLWindowSurface::flush(QWidget *widget, const QRegion &rgn, const QPoint &
// at least cleared the background (= painted something). In EGL API it's a
// mistakte to call swapBuffers if nothing was painted. This check protects
// the flush func from being executed if it's for nothing.
- if (! d_ptr->did_paint)
+ if (!d_ptr->did_paint)
return;
QWidget *parent = widget->internalWinId() ? widget : widget->nativeParentWidget();