From d903226db64c5118fdd9747dd9d01d8c81995321 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Mon, 23 Oct 2017 13:07:49 +0200 Subject: [PATCH] Fix typo in comment --- ThirdParty/expressionparser/ExpressionParserImpl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ThirdParty/expressionparser/ExpressionParserImpl.cpp b/ThirdParty/expressionparser/ExpressionParserImpl.cpp index fb033b3a9a..eb8b04ea3f 100644 --- a/ThirdParty/expressionparser/ExpressionParserImpl.cpp +++ b/ThirdParty/expressionparser/ExpressionParserImpl.cpp @@ -40,12 +40,11 @@ std::vector ExpressionParserImpl::detectReferencedVariables(const QStri { QString variableNameLowerCase = QString::fromStdString(s); - // ExprTk reports always in + // ExprTk reports always in lower case int index = expression.indexOf(variableNameLowerCase, 0, Qt::CaseInsensitive); if (index > -1) { - referencedVariables.push_back(expression.mid(index, variableNameLowerCase.size())); } }