forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user