From f6b432e1fa26599ce3fb84ed29d40f517e0475b7 Mon Sep 17 00:00:00 2001 From: "Dr. David Alan Gilbert" Date: Fri, 7 Apr 2023 18:34:31 +0100 Subject: [PATCH] debug: Log the script Include the script in the debug. Useful when you're dealing with a file with lots of different scripts. (cherry picked from commit 074c3dc3c235970c383aaf2b57d809655f7f5b12) --- core/scripter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/scripter.cpp b/core/scripter.cpp index c60645895..46d05a37e 100644 --- a/core/scripter.cpp +++ b/core/scripter.cpp @@ -45,7 +45,7 @@ Scripter::~Scripter() void Scripter::execute(ScriptType type, const QString &script) { - qCDebug(OkularCoreDebug) << "executing the script:"; + qCDebug(OkularCoreDebug) << "executing the script:" << script; #ifdef WITH_KJS static QString builtInScript; if (builtInScript.isNull()) {