From a685ede74282c7add19a2da11b0d45fe3575218c Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Tue, 16 Jun 2009 12:16:42 +0200 Subject: attempt to compile on solaris --- src/scripttools/debugging/qscriptenginedebugger.cpp | 4 ++-- 1 file 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(d)->createDebugger(); - return d->debugger->widget(static_cast(widget)); + return d->debugger->widget(static_cast(static_cast(widget))); } /*! @@ -434,7 +434,7 @@ QAction *QScriptEngineDebugger::action(DebuggerAction action) const Q_D(const QScriptEngineDebugger); QScriptEngineDebugger *that = const_cast(this); that->d_func()->createDebugger(); - return d->debugger->action(static_cast(action), that); + return d->debugger->action(static_cast(static_cast(action)), that); } /*! -- cgit v0.12