summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellowindow
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/hellowindow')
-rw-r--r--examples/opengl/hellowindow/hellowindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.h b/examples/opengl/hellowindow/hellowindow.h
index 51c326c75f..1e117ab2e0 100644
--- a/examples/opengl/hellowindow/hellowindow.h
+++ b/examples/opengl/hellowindow/hellowindow.h
@@ -1,6 +1,9 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+#ifndef HELLOWINDOW_H
+#define HELLOWINDOW_H
+
#include <QWindow>
#include <QColor>
@@ -70,3 +73,5 @@ private:
QColor m_color;
const QSharedPointer<Renderer> m_renderer;
};
+
+#endif // HELLOWINDOW_H