Commit 80590e91 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QLatin1Char('/') here

parent ad08c4ad
......@@ -65,7 +65,7 @@ bool GearyImportData::importSettings()
qCDebug(GEARYPLUGIN_LOG) << "Number of directory " << lstDir.count();
const QString configName = QStringLiteral("geary.ini");
for (int i = 0; i < lstDir.count(); ++i) {
const QString fullPath = lstDir.at(i) + QDir::separator() + configName;
const QString fullPath = lstDir.at(i) + QLatin1Char('/') + configName;
if (QFileInfo::exists(fullPath)) {
GearySettings setting(fullPath);
setting.setAbstractDisplayInfo(mAbstractDisplayInfo);
......
......@@ -65,7 +65,7 @@ bool NylasMailImportData::importSettings()
/*
const QString configName = QStringLiteral("NylasMail.ini");
for (int i = 0; i < lstDir.count(); ++i) {
const QString fullPath = lstDir.at(i) + QDir::separator() + configName;
const QString fullPath = lstDir.at(i) + QLatin1Char('/') + configName;
if (QFileInfo::exists(fullPath)) {
NylasMailSettings setting(fullPath);
setting.setAbstractDisplayInfo(mAbstractDisplayInfo);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment