diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-06-15 17:52:07 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-06-16 12:24:15 +0200 |
commit | 1061e74206592ec1791cadf47e66cf323f525ea4 (patch) | |
tree | 2b83c97a04470b44992b5c58f9f3dfa259e58918 /src/qml/qml/qqmlcontext.h | |
parent | 0d43e21429ee23442ec3a99f641a5665d66e75e2 (diff) |
Make QQmlContext::resolveUrl() const
It doesn't modify anything.
Change-Id: If289873415eb5a0483ca49b34abfac6be9a9e2e5
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlcontext.h')
-rw-r--r-- | src/qml/qml/qqmlcontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlcontext.h b/src/qml/qml/qqmlcontext.h index f12a94ef9d..579f278b10 100644 --- a/src/qml/qml/qqmlcontext.h +++ b/src/qml/qml/qqmlcontext.h @@ -86,7 +86,7 @@ public: // ### Qt 6: no need for a mutable object, this should become a const QObject pointer QString nameForObject(QObject *) const; - QUrl resolvedUrl(const QUrl &); + QUrl resolvedUrl(const QUrl &) const; void setBaseUrl(const QUrl &); QUrl baseUrl() const; |