summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/script/scriptengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/script/scriptengine.cpp')
-rw-r--r--src/plugins/debugger/script/scriptengine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/debugger/script/scriptengine.cpp b/src/plugins/debugger/script/scriptengine.cpp
index f5b36383bb..9fb2e337a2 100644
--- a/src/plugins/debugger/script/scriptengine.cpp
+++ b/src/plugins/debugger/script/scriptengine.cpp
@@ -581,11 +581,11 @@ void ScriptEngine::setToolTipExpression(const QPoint &mousePos,
//
//////////////////////////////////////////////////////////////////////
-void ScriptEngine::assignValueInDebugger(const QString &expression,
- const QString &value)
+void ScriptEngine::assignValueInDebugger(const Internal::WatchData *,
+ const QString &expression, const QVariant &value)
{
- SDEBUG("ASSIGNING: " << (expression + QLatin1Char('=') + value));
- m_scriptEngine->evaluate(expression + QLatin1Char('=') + value);
+ SDEBUG("ASSIGNING: " << (expression + QLatin1Char('=') + value.toString()));
+ m_scriptEngine->evaluate(expression + QLatin1Char('=') + value.toString());
updateLocals();
}