aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-02-03 15:00:00 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-02-03 15:33:07 +0100
commitaeec6218659489fc6087720d804ce927ade2350b (patch)
treeb3212fe316e32b867b88c3111a3282fb80fcd001 /examples/quick
parenta2e1bf66150e4b47e58f1da0fc7847b6cb4db1e1 (diff)
Examples: Add missing include guards
Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I968865958770f6282ab6f79dc9b2becf4f7795af Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'examples/quick')
-rw-r--r--examples/quick/models/abstractitemmodel/model.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/quick/models/abstractitemmodel/model.h b/examples/quick/models/abstractitemmodel/model.h
index 85942127fc..d4a5e738a7 100644
--- a/examples/quick/models/abstractitemmodel/model.h
+++ b/examples/quick/models/abstractitemmodel/model.h
@@ -1,5 +1,9 @@
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
+#ifndef MODEL_H
+#define MODEL_H
+
#include <QAbstractListModel>
#include <QStringList>
@@ -45,4 +49,4 @@ private:
};
//![2]
-
+#endif // MODEL_H