summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qopenglcontext_p.h
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/kernel/qopenglcontext_p.h
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/kernel/qopenglcontext_p.h')
-rw-r--r--src/gui/kernel/qopenglcontext_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/kernel/qopenglcontext_p.h b/src/gui/kernel/qopenglcontext_p.h
index ac72b76ea4..b07ac0ac25 100644
--- a/src/gui/kernel/qopenglcontext_p.h
+++ b/src/gui/kernel/qopenglcontext_p.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QGUIGLCONTEXT_P_H
-#define QGUIGLCONTEXT_P_H
+#ifndef QOPENGLCONTEXT_P_H
+#define QOPENGLCONTEXT_P_H
#ifndef QT_NO_OPENGL
@@ -251,4 +251,4 @@ QT_END_NAMESPACE
QT_END_HEADER
#endif // QT_NO_OPENGL
-#endif // QGUIGLCONTEXT_P_H
+#endif // QOPENGLCONTEXT_P_H