summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-02-06 13:58:38 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-02-07 11:35:54 +0100
commitcc2f7547d1beb51257a19b40c8e87e347044c7b6 (patch)
treed5a71199d5aa2e02c4841869c167e1ec18df9fc5 /examples
parent9deb622ddfed982ed0a471118680a16790bafb92 (diff)
pointconfiguration example: Add missing include guards
Amends 189f798b2c44b3a061d8b1275ad03f5e5ef29486. Task-number: QTBUG-109394 Pick-to: 6.5 Change-Id: I7ae2db05e29ae84b543c6b37ed1c54693ec66541 Reviewed-by: Keith Kyzivat <keith.kyzivat@qt.io> Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/charts/pointconfiguration/chartwindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/charts/pointconfiguration/chartwindow.h b/examples/charts/pointconfiguration/chartwindow.h
index da01e9ad..141e17e3 100644
--- a/examples/charts/pointconfiguration/chartwindow.h
+++ b/examples/charts/pointconfiguration/chartwindow.h
@@ -1,6 +1,9 @@
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+#ifndef CHARTWINDOW_H
+#define CHARTWINDOW_H
+
#include <QChartView>
#include <QCheckBox>
#include <QComboBox>
@@ -34,3 +37,5 @@ private:
QLineEdit *m_customLabelLineEdit = nullptr;
};
//![1]
+
+#endif // CHARTWINDOW_H