~ubuntu-branches/ubuntu/trusty/qtscript-opensource-src/trusty

« back to all changes in this revision

Viewing changes to src/scripttools/debugging/qscriptdebuggerconsole.cpp

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2014-03-10 14:30:51 UTC
  • mfrom: (1.1.4) (5.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20140310143051-6rr67kxeqic3zern
Tags: 5.2.1+dfsg-1ubuntu1
* debian/patches/aarch64.patch
  - Needed to fix arm64 FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
489
489
    d->input += QLatin1Char('\n');
490
490
    QScriptSyntaxCheckResult check = QScriptEngine::checkSyntax(d->input);
491
491
    if (check.state() == QScriptSyntaxCheckResult::Intermediate)
492
 
        return false;
 
492
        return 0;
493
493
    d->input.chop(1); // remove the last \n
494
494
    cmd = QString();
495
495
    cmd.append(d->commandPrefix);