Minor: Replace trailing ","

This commit is contained in:
Gerhard Hoffmann 2024-04-29 15:02:37 +02:00
parent 8402fde6b5
commit 543e712c62

View File

@ -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();
}
}