summaryrefslogtreecommitdiffstats
path: root/src/scripttools/debugging/qscriptdebuggerconsoleglobalobject.cpp
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-05-19 14:45:28 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-05-19 14:45:28 (GMT)
commit8821284ac4e55caf5fe712fca002e79220e9cf7e (patch)
treeb1d82e77ee04ee50b24298ae58f46c0980ec0e5d /src/scripttools/debugging/qscriptdebuggerconsoleglobalobject.cpp
parent2c5b7fe040575aa2ee560117c1c3455724c2f9ae (diff)
parent13f703741dee67adc7d92e4bcf525431334c9a60 (diff)
downloadQt-8821284ac4e55caf5fe712fca002e79220e9cf7e.zip
Qt-8821284ac4e55caf5fe712fca002e79220e9cf7e.tar.gz
Qt-8821284ac4e55caf5fe712fca002e79220e9cf7e.tar.bz2
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerconsoleglobalobject.cpp')
-rw-r--r--src/scripttools/debugging/qscriptdebuggerconsoleglobalobject.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggerconsoleglobalobject.cpp b/src/scripttools/debugging/qscriptdebuggerconsoleglobalobject.cpp
index 0018b92..f923508 100644
--- a/src/scripttools/debugging/qscriptdebuggerconsoleglobalobject.cpp
+++ b/src/scripttools/debugging/qscriptdebuggerconsoleglobalobject.cpp
@@ -448,12 +448,7 @@ QStringList QScriptDebuggerConsoleGlobalObject::getCommandCompletions(const QStr
bool QScriptDebuggerConsoleGlobalObject::checkSyntax(const QString &program)
{
-#if QT_VERSION >= 0x040500
return (QScriptEngine::checkSyntax(program).state() == QScriptSyntaxCheckResult::Valid);
-#else
- Q_UNUSED(program);
- return true;
-#endif
}
void QScriptDebuggerConsoleGlobalObject::setEvaluateAction(int action)