History

Fix warning due to multiline comment

Dale Glass committed 6 years ago

Commit b243d381 parent 892f97d1 file · +1 −1Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.h (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.h+1−1
@@ -240,7 +240,7 @@ public: · 239 unmodified lines
240 * @param {object} enum - Enum.240 * @param {object} enum - Enum.
241 * @deprecated This function is deprecated and will be removed.241 * @deprecated This function is deprecated and will be removed.
242 */242 */
243 // WARNING: This function must be called after a registerGlobalObject that creates the namespace this enum is located in, or\243 // WARNING: This function must be called after a registerGlobalObject that creates the namespace this enum is located in, or
244 // the globalObject won't function. E.g., if you have a Foo object and a Foo.FooType enum, Foo must be registered first.244 // the globalObject won't function. E.g., if you have a Foo object and a Foo.FooType enum, Foo must be registered first.
245 /// registers a global enum245 /// registers a global enum
246 Q_INVOKABLE void registerEnum(const QString& enumName, QMetaEnum newEnum);246 Q_INVOKABLE void registerEnum(const QString& enumName, QMetaEnum newEnum);