debug: Log the script

Include the script in the debug.  Useful when you're dealing with
a file with lots of different scripts.
remotes/origin/work/sune/use-parsed-distinguished-name
Dr. David Alan Gilbert 3 years ago committed by Albert Astals Cid
parent 51737b24e3
commit 074c3dc3c2
  1. 2
      core/scripter.cpp

@ -45,7 +45,7 @@ Scripter::~Scripter()
void Scripter::execute(ScriptType type, const QString &script) void Scripter::execute(ScriptType type, const QString &script)
{ {
qCDebug(OkularCoreDebug) << "executing the script:"; qCDebug(OkularCoreDebug) << "executing the script:" << script;
#ifdef WITH_KJS #ifdef WITH_KJS
static QString builtInScript; static QString builtInScript;
if (builtInScript.isNull()) { if (builtInScript.isNull()) {

Loading…
Cancel
Save