Commit f3b886c4 authored by hjk's avatar hjk

Debugger: Make some error message translatable

Change-Id: I4573c26df5d41d6fdab4ddeb1d70ee5d2bc10c11
Reviewed-by: Riitta-Leena Miettinen's avatarLeena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Ulf Hermann's avatarUlf Hermann <ulf.hermann@qt.io>
parent e633b49c
...@@ -885,7 +885,7 @@ void QmlEngine::assignValueInDebugger(WatchItem *item, ...@@ -885,7 +885,7 @@ void QmlEngine::assignValueInDebugger(WatchItem *item,
if (handler->isContentsValid() && handler->currentFrame().isUsable()) { if (handler->isContentsValid() && handler->currentFrame().isUsable()) {
d->evaluate(exp, -1, [this](const QVariantMap &) { d->updateLocals(); }); d->evaluate(exp, -1, [this](const QVariantMap &) { d->updateLocals(); });
} else { } else {
showMessage(QString("Cannot evaluate %1 in current stack frame") showMessage(tr("Cannot evaluate %1 in current stack frame.")
.arg(expression), ConsoleOutput); .arg(expression), ConsoleOutput);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment