Commit 19d20f4b authored by Christian Stenger's avatar Christian Stenger Committed by Tobias Hunger
Browse files

Core: Fix compile for gcc 4.7.3



Change-Id: I941179964158eb869299f068f8cd92a45f230967
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent b1261796
...@@ -88,7 +88,7 @@ JsExpander::JsExpander() ...@@ -88,7 +88,7 @@ JsExpander::JsExpander()
QCoreApplication::translate("Core::JsExpander", QCoreApplication::translate("Core::JsExpander",
"Evaluate simple Javascript statements.\n" "Evaluate simple Javascript statements.\n"
"The statements may not contain '{' nor '}' characters."), "The statements may not contain '{' nor '}' characters."),
[](QString in) -> QString { [this](QString in) -> QString {
QString errorMessage; QString errorMessage;
QString result = JsExpander::evaluate(in, &errorMessage); QString result = JsExpander::evaluate(in, &errorMessage);
if (!errorMessage.isEmpty()) { if (!errorMessage.isEmpty()) {
......
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