summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-05-06 10:16:06 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-05-06 15:41:01 +0200
commit8aaf46ce20d3d20a2678e30a4365b2d8db088c01 (patch)
tree5251dcfe5348d6722a6d9fba731d60f2301deefd
parent00c344a94585c8d23db1777beda8887c6815dbb0 (diff)
QGeoRouteReply: Register Error enum with meta objectHEADdev
QGeoRouteReply is registered with QML, and the enum type is used as a parameter of the errorOccurred signal, so also needs to be known to QML. Change-Id: I0043fbe2c95e25dcadbed9ccb3ce3da740b89c14 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--src/location/maps/qgeoroutereply.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/maps/qgeoroutereply.h b/src/location/maps/qgeoroutereply.h
index 73aa7d2b..99f8fe39 100644
--- a/src/location/maps/qgeoroutereply.h
+++ b/src/location/maps/qgeoroutereply.h
@@ -26,6 +26,7 @@ public:
UnsupportedOptionError,
UnknownError
};
+ Q_ENUM(Error)
explicit QGeoRouteReply(Error error, const QString &errorString, QObject *parent = nullptr);
virtual ~QGeoRouteReply();