diff options
author | Friedemann Kleint <[email protected]> | 2023-01-30 14:32:42 +0100 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2023-02-01 18:12:36 +0000 |
commit | ddb94dd7927126978fc2a620ebd91954e2f96862 (patch) | |
tree | 6e36b086e114a6084f3256e408ef85b8432b0c1d /examples/opengl/openglwindow/openglwindow.h | |
parent | ae92c571a36703f6ab95d98b55d070cc57023376 (diff) |
Examples: Add missing include guards
Pick-to: 6.5 6.4 6.2
Task-number: QTBUG-109394
Change-Id: I09a1b522d0faeb2346e1e075141f1e810c8155f7
Reviewed-by: Amir Masoud Abdol <[email protected]>
Reviewed-by: MÃ¥rten Nordheim <[email protected]>
Diffstat (limited to 'examples/opengl/openglwindow/openglwindow.h')
-rw-r--r-- | examples/opengl/openglwindow/openglwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/opengl/openglwindow/openglwindow.h b/examples/opengl/openglwindow/openglwindow.h index 7206fc57efc..579f9eede49 100644 --- a/examples/opengl/openglwindow/openglwindow.h +++ b/examples/opengl/openglwindow/openglwindow.h @@ -1,6 +1,9 @@ // Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause +#ifndef OPENGLWINDOW_H +#define OPENGLWINDOW_H + #include <QWindow> #include <QOpenGLFunctions> @@ -42,3 +45,4 @@ private: }; //! [1] +#endif // OPENGLWINDOW_H |