diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-09-03 16:56:48 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-08 13:36:24 +0200 |
commit | 7ed5f3b867db5eb5b0bd6dc49828e0e6931b60f9 (patch) | |
tree | 895e46ec3c1ef83070843500cc3a791761727d20 /src/opengl/qgl_p.h | |
parent | 6a3a234742e4f186dd065e48cb013036d5f7a621 (diff) |
don't use QT_{BEGIN,END}_INCLUDE_NAMESPACE needlessly
these macros behave counter-intuitively, so don't use them unless the code
structure really suggests their use.
Change-Id: I58213b39f8a98e4368901217fac14ca49c28b8cf
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r-- | src/opengl/qgl_p.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h index c2b16f91e0..b03214aed8 100644 --- a/src/opengl/qgl_p.h +++ b/src/opengl/qgl_p.h @@ -66,6 +66,7 @@ #include "qglpaintdevice_p.h" #include <QtGui/QOpenGLContext> +#include <QtOpenGL/private/qglextensions_p.h> QT_BEGIN_NAMESPACE @@ -73,10 +74,6 @@ class QGLContext; class QGLOverlayWidget; class QPixmap; -QT_BEGIN_INCLUDE_NAMESPACE -#include <QtOpenGL/private/qglextensions_p.h> -QT_END_INCLUDE_NAMESPACE - class QGLFormatPrivate { public: |