summaryrefslogtreecommitdiffstats
path: root/src/scripttools
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-06-16 10:16:42 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-06-16 10:16:42 (GMT)
commita685ede74282c7add19a2da11b0d45fe3575218c (patch)
treed69ac602d8695cdf9a4fa01d83e6dddfa1a0597b /src/scripttools
parentee9364a30b8562b9eb8444c25288869cf0a7ba8f (diff)
downloadQt-a685ede74282c7add19a2da11b0d45fe3575218c.zip
Qt-a685ede74282c7add19a2da11b0d45fe3575218c.tar.gz
Qt-a685ede74282c7add19a2da11b0d45fe3575218c.tar.bz2
attempt to compile on solaris
Diffstat (limited to 'src/scripttools')
-rw-r--r--src/scripttools/debugging/qscriptenginedebugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripttools/debugging/qscriptenginedebugger.cpp b/src/scripttools/debugging/qscriptenginedebugger.cpp
index 6ee6c98..b09c79a 100644
--- a/src/scripttools/debugging/qscriptenginedebugger.cpp
+++ b/src/scripttools/debugging/qscriptenginedebugger.cpp
@@ -410,7 +410,7 @@ QWidget *QScriptEngineDebugger::widget(DebuggerWidget widget) const
{
Q_D(const QScriptEngineDebugger);
const_cast<QScriptEngineDebuggerPrivate*>(d)->createDebugger();
- return d->debugger->widget(static_cast<QScriptDebugger::DebuggerWidget>(widget));
+ return d->debugger->widget(static_cast<QScriptDebugger::DebuggerWidget>(static_cast<int>(widget)));
}
/*!
@@ -434,7 +434,7 @@ QAction *QScriptEngineDebugger::action(DebuggerAction action) const
Q_D(const QScriptEngineDebugger);
QScriptEngineDebugger *that = const_cast<QScriptEngineDebugger*>(this);
that->d_func()->createDebugger();
- return d->debugger->action(static_cast<QScriptDebugger::DebuggerAction>(action), that);
+ return d->debugger->action(static_cast<QScriptDebugger::DebuggerAction>(static_cast<int>(action)), that);
}
/*!