diff options
author | Frederik Gladhorn <[email protected]> | 2025-03-31 22:19:47 +0200 |
---|---|---|
committer | Frederik Gladhorn <[email protected]> | 2025-04-13 09:32:00 +0200 |
commit | d8dfed4a59dae4c8022eb47026494199a481ab48 (patch) | |
tree | fc0a90ac9fb8cec52fb8d0a052cb7f1c3eca82d1 | |
parent | d2d5f36eab634e3e1ba1215bfedd1eb2259a0543 (diff) |
fix typo: QSrting
Also make clang-format happy with the comment.
Change-Id: Ia38a103dcfe01bace097ea6290bdf65494fc9282
Reviewed-by: Fabian Kosmale <[email protected]>
-rw-r--r-- | src/qml/jsruntime/qv4qmlcontext.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4qmlcontext.cpp b/src/qml/jsruntime/qv4qmlcontext.cpp index 8089c299c3..baef0b4864 100644 --- a/src/qml/jsruntime/qv4qmlcontext.cpp +++ b/src/qml/jsruntime/qv4qmlcontext.cpp @@ -230,8 +230,9 @@ ReturnedValue QQmlContextWrapper::getPropertyAndBase(const QQmlContextWrapper *r } else { QJSValue singleton = e->singletonInstance<QJSValue>(r.type); - // QSrting values should already have been put on the engine heap at this point - // to manage their memory. We later assume this has already happened. + // QString values should already have been put on the engine heap at + // this point to manage their memory. We later assume this has already + // happened. Q_ASSERT(!QJSValuePrivate::asQString(&singleton)); if (QV4::Value *val = QJSValuePrivate::takeManagedValue(&singleton)) { |