From 83f201968003476f42d5de725a47696f0d0f4443 Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Mon, 25 Nov 2024 02:03:08 -0500 Subject: [PATCH] Enable all extensions in the JS engine --- app/src/JSON/FrameParser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/JSON/FrameParser.cpp b/app/src/JSON/FrameParser.cpp index 06fee9a8..1529a88f 100644 --- a/app/src/JSON/FrameParser.cpp +++ b/app/src/JSON/FrameParser.cpp @@ -243,8 +243,7 @@ bool JSON::FrameParser::save(const bool silent) bool JSON::FrameParser::loadScript(const QString &script) { // Ensure that engine is configured correctly - m_engine.installExtensions(QJSEngine::ConsoleExtension - | QJSEngine::GarbageCollectionExtension); + m_engine.installExtensions(QJSEngine::AllExtensions); // Check if there are no general JS errors QStringList errors;