From 4b49559d3962bac3ed08355b173984d067893fb5 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sat, 14 Oct 2023 23:38:14 +0200 Subject: [PATCH] Fix LocationHelper registration --- src/locationhelper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/locationhelper.h b/src/locationhelper.h index 0271f33e0..8c848ad87 100644 --- a/src/locationhelper.h +++ b/src/locationhelper.h @@ -12,7 +12,8 @@ class LocationHelper : public QObject { Q_OBJECT QML_ELEMENT - QML_UNCREATABLE("") + QML_SINGLETON + public: /** Unite two rectanlges. */ Q_INVOKABLE static QRectF unite(const QRectF &r1, const QRectF &r2);