diff --git a/UpdatePTUDevCtrl/utils.cpp b/UpdatePTUDevCtrl/utils.cpp index 5e82adc..1817477 100644 --- a/UpdatePTUDevCtrl/utils.cpp +++ b/UpdatePTUDevCtrl/utils.cpp @@ -44,6 +44,7 @@ QString Utils::getLocation(QString fileName) { if (c != -1) { location = line.mid(c+1); if (!location.isEmpty()) { + location = location.replace(QChar(','), QString("")); return location.replace(QChar('"'), QString("")).trimmed(); } } @@ -69,6 +70,7 @@ QString Utils::getTariffVersion(QString fileName) { if (c != -1) { version = line.mid(c+1); if (!version.isEmpty()) { + version = version.replace(QChar(','), QString("")); return version.replace(QChar('"'), QString("")).trimmed(); } } @@ -94,6 +96,7 @@ QString Utils::getTariffInfo(QString fileName) { if (c != -1) { info = line.mid(c+1); if (!info.isEmpty()) { + info = info.replace(QChar(','), QString("")); return info.replace(QChar('"'), QString("")).trimmed(); } }