Utils: More forward declarations / drop unused headers [S]

Round 1 - focus on headers.
For classes with initial in range [S].
Try to keep the same separators between different kind of headers.

SmallString[xxx] classes skipped for now.

Change-Id: Ie5c8edcb028e33eb8f9619e646afc462b91dca73
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-05-24 12:31:20 +02:00
parent 304ab10642
commit a67aee30a6
8 changed files with 17 additions and 9 deletions

View File

@@ -92,7 +92,7 @@ QTCREATOR_UTILS_EXPORT QString commonPrefix(const QStringList &strings)
QTCREATOR_UTILS_EXPORT QString commonPath(const QStringList &files)
{
QStringList appendedSlashes = Utils::transform(files, [](const QString &file) -> QString {
QStringList appendedSlashes = transform(files, [](const QString &file) -> QString {
if (!file.endsWith('/'))
return QString(file + '/');
return file;