diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2009-04-16 01:06:09 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-04-16 01:06:09 (GMT) |
commit | 5174ef058693fb3c5420bd9ed555ebf0dfc758a2 (patch) | |
tree | 2e8272b2394c9beff850e08dd745559d11aad258 /src/scripttools/debugging/qscriptdebuggerbackend.cpp | |
parent | 3eb4aacf07c77876c6ce68e9746906424934433b (diff) | |
download | Qt-5174ef058693fb3c5420bd9ed555ebf0dfc758a2.zip Qt-5174ef058693fb3c5420bd9ed555ebf0dfc758a2.tar.gz Qt-5174ef058693fb3c5420bd9ed555ebf0dfc758a2.tar.bz2 |
Remove obsolete pre-processor directives that check QT_VERSION.
Reviewed-by: Kent Hansen
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerbackend.cpp')
-rw-r--r-- | src/scripttools/debugging/qscriptdebuggerbackend.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggerbackend.cpp b/src/scripttools/debugging/qscriptdebuggerbackend.cpp index 24a3847..3c29130 100644 --- a/src/scripttools/debugging/qscriptdebuggerbackend.cpp +++ b/src/scripttools/debugging/qscriptdebuggerbackend.cpp @@ -615,13 +615,11 @@ void QScriptDebuggerBackend::doPendingEvaluate(bool postEvent) // push a new context and initialize its scope chain etc. { QScriptContext *evalContext = engine()->pushContext(); -#if QT_VERSION >= 0x040500 QScriptValueList scopeChain = ctx->scopeChain(); if (scopeChain.isEmpty()) scopeChain.append(engine()->globalObject()); while (!scopeChain.isEmpty()) evalContext->pushScope(scopeChain.takeLast()); -#endif evalContext->setActivationObject(ctx->activationObject()); evalContext->setThisObject(ctx->thisObject()); } |