summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2012-09-15 16:51:51 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-15 23:54:23 +0200
commit9bedada232fb821f1fba2c1bdbd24702947dcaed (patch)
tree70c4847bc269eb4551a05afc6b0de16d168b7575 /src/gui/opengl
parent7329ad3ee59fedc68758289677f3ece617858708 (diff)
gui/opengl: Fix missing or improper include guard in headers
Use an include guard in headers to ensure the header is not included more than once. Make the header guard match its file name. Change-Id: I29b41e9d33e4ea17165f44c49de0a963574dd809 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/gui/opengl')
-rw-r--r--src/gui/opengl/qopenglgradientcache_p.h4
-rw-r--r--src/gui/opengl/qopengltextureglyphcache_p.h6
2 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/opengl/qopenglgradientcache_p.h b/src/gui/opengl/qopenglgradientcache_p.h
index 7acc8c1d9d..47837e5673 100644
--- a/src/gui/opengl/qopenglgradientcache_p.h
+++ b/src/gui/opengl/qopenglgradientcache_p.h
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#ifndef QOPENGLGRADIENTCACHE_P_H
+#define QOPENGLGRADIENTCACHE_P_H
+
//
// W A R N I N G
// -------------
@@ -99,3 +102,4 @@ private:
QT_END_NAMESPACE
+#endif // QOPENGLGRADIENTCACHE_P_H
diff --git a/src/gui/opengl/qopengltextureglyphcache_p.h b/src/gui/opengl/qopengltextureglyphcache_p.h
index 4b6101e7c9..4ccac0e6ba 100644
--- a/src/gui/opengl/qopengltextureglyphcache_p.h
+++ b/src/gui/opengl/qopengltextureglyphcache_p.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QOPENTEXTUREGLYPHCACHE_P_H
-#define QOPENTEXTUREGLYPHCACHE_P_H
+#ifndef QOPENGLTEXTUREGLYPHCACHE_P_H
+#define QOPENGLTEXTUREGLYPHCACHE_P_H
//
// W A R N I N G
@@ -166,5 +166,5 @@ private:
QT_END_NAMESPACE
-#endif
+#endif // QOPENGLTEXTUREGLYPHCACHE_P_H