diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-06-16 10:16:42 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-06-16 10:16:42 (GMT) |
commit | a685ede74282c7add19a2da11b0d45fe3575218c (patch) | |
tree | d69ac602d8695cdf9a4fa01d83e6dddfa1a0597b /src/scripttools | |
parent | ee9364a30b8562b9eb8444c25288869cf0a7ba8f (diff) | |
download | Qt-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.cpp | 4 |
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); } /*! |