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 074c3dc3c2)
remotes/origin/release/23.04
Dr. David Alan Gilbert 3 years ago committed by Albert Astals Cid
parent 260786859e
commit f6b432e1fa
  1. 2
      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()) {

Loading…
Cancel
Save