From 8b6cce5889fd5cff08476f0ea6172b46c5ed7ca6 Mon Sep 17 00:00:00 2001 From: Kalila R Date: Tue, 30 Jul 2019 17:26:49 -0400 Subject: [PATCH] Moved getTypeAsString function from public to protected --- libraries/script-engine/src/ScriptEngine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/script-engine/src/ScriptEngine.h b/libraries/script-engine/src/ScriptEngine.h index b86d8f6315..de60d89328 100644 --- a/libraries/script-engine/src/ScriptEngine.h +++ b/libraries/script-engine/src/ScriptEngine.h @@ -277,7 +277,6 @@ public: * */ Q_INVOKABLE QString getContext() const; - Q_INVOKABLE QString getTypeAsString() const; /**jsdoc * Checks whether the script is running as an Interface or avatar script. @@ -635,6 +634,7 @@ public: void setType(Type type) { _type = type; }; Type getType() { return _type; }; + QString getTypeAsString() const; bool isFinished() const { return _isFinished; } // used by Application and ScriptWidget bool isRunning() const { return _isRunning; } // used by ScriptWidget