More changes to QLatin1String, QLatin1Char and QStringLiteral

This commit is contained in:
Kurt Hindenburg
2017-05-07 14:25:35 -04:00
parent 80321deea3
commit b4b4a502bf
8 changed files with 19 additions and 19 deletions

View File

@@ -44,7 +44,7 @@ QString KDE4ProfileWriter::getPath(const Profile::Ptr profile)
// the Konsole part can write/save profiles
static const QString localDataLocation = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/konsole");
return localDataLocation % "/" % profile->untranslatedName() % ".profile";
return localDataLocation % QLatin1String("/") % profile->untranslatedName() % QLatin1String(".profile");
}
void KDE4ProfileWriter::writeProperties(KConfig& config,
const Profile::Ptr profile,
@@ -61,7 +61,7 @@ void KDE4ProfileWriter::writeProperties(KConfig& config,
}
if (profile->isPropertySet(properties->property))
group.writeEntry(QString(properties->name),
group.writeEntry(QLatin1String(properties->name),
profile->property<QVariant>(properties->property));
}