summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/io/qdir.cpp6
-rw-r--r--src/corelib/io/qiodevice.cpp2
-rw-r--r--src/corelib/io/qsettings_mac.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp
index dd3c10dadd..5463adaeb9 100644
--- a/src/corelib/io/qdir.cpp
+++ b/src/corelib/io/qdir.cpp
@@ -2255,7 +2255,7 @@ QDebug operator<<(QDebug debug, QDir::Filters filters)
if (filters & QDir::System) flags << QLatin1String("System");
if (filters & QDir::CaseSensitive) flags << QLatin1String("CaseSensitive");
}
- debug << "QDir::Filters(" << qPrintable(flags.join(QLatin1String("|"))) << ')';
+ debug << "QDir::Filters(" << qPrintable(flags.join(QLatin1Char('|'))) << ')';
return debug;
}
@@ -2278,7 +2278,7 @@ static QDebug operator<<(QDebug debug, QDir::SortFlags sorting)
if (sorting & QDir::Type) flags << QLatin1String("Type");
debug << "QDir::SortFlags(" << qPrintable(type)
<< '|'
- << qPrintable(flags.join(QLatin1String("|"))) << ')';
+ << qPrintable(flags.join(QLatin1Char('|'))) << ')';
}
return debug;
}
@@ -2287,7 +2287,7 @@ QDebug operator<<(QDebug debug, const QDir &dir)
{
debug.maybeSpace() << "QDir(" << dir.path()
<< ", nameFilters = {"
- << qPrintable(dir.nameFilters().join(QLatin1String(",")))
+ << qPrintable(dir.nameFilters().join(QLatin1Char(',')))
<< "}, "
<< dir.sorting()
<< ','
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp
index aee240b88c..6901bff68a 100644
--- a/src/corelib/io/qiodevice.cpp
+++ b/src/corelib/io/qiodevice.cpp
@@ -1687,7 +1687,7 @@ QDebug operator<<(QDebug debug, QIODevice::OpenMode modes)
modeList << QLatin1String("Unbuffered");
}
qSort(modeList);
- debug << modeList.join(QLatin1String("|"));
+ debug << modeList.join(QLatin1Char('|'));
debug << ')';
return debug;
}
diff --git a/src/corelib/io/qsettings_mac.cpp b/src/corelib/io/qsettings_mac.cpp
index 8957b1bb5c..4f6902d945 100644
--- a/src/corelib/io/qsettings_mac.cpp
+++ b/src/corelib/io/qsettings_mac.cpp
@@ -399,7 +399,7 @@ QMacSettingsPrivate::QMacSettingsPrivate(QSettings::Scope scope, const QString &
const QString &bundle_identifier_component = bundle_identifier_components.at(i);
bundle_identifier_components_reversed.push_front(bundle_identifier_component);
}
- domainName = bundle_identifier_components_reversed.join(QLatin1String("."));
+ domainName = bundle_identifier_components_reversed.join(QLatin1Char('.'));
}
}
}