From 4c6c0dfd3be3cafc5cc7ab6c68414229ba9ac08e Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Fri, 3 Mar 2017 23:47:10 +0300 Subject: [PATCH] QString -> tr --- limereport/lrscriptenginemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limereport/lrscriptenginemanager.cpp b/limereport/lrscriptenginemanager.cpp index b975c03..5b6faa8 100644 --- a/limereport/lrscriptenginemanager.cpp +++ b/limereport/lrscriptenginemanager.cpp @@ -568,7 +568,7 @@ QString ScriptEngineManager::expandDataFields(QString context, ExpandType expand } else { QString error; if (reportItem){ - error = QString("Field %1 not found in %2 !!! ").arg(field).arg(reportItem->objectName()); + error = tr("Field %1 not found in %2 !!! ").arg(field).arg(reportItem->objectName()); dataManager()->putError(error); } varValue = QVariant();