forked from qt-creator/qt-creator
Utils: Code cosmetics
Change-Id: I34b566371fc4d6666439ed14c8ba95417584f0f5 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -803,11 +803,11 @@ FilePath FileUtils::homePath()
|
||||
return FilePath::fromUserInput(QDir::homePath());
|
||||
}
|
||||
|
||||
FilePaths FileUtils::toFilePathList(const QStringList &paths) {
|
||||
return transform(paths, [](const QString &path) { return FilePath::fromString(path); });
|
||||
FilePaths FileUtils::toFilePathList(const QStringList &paths)
|
||||
{
|
||||
return transform(paths, &FilePath::fromString);
|
||||
}
|
||||
|
||||
|
||||
qint64 FileUtils::bytesAvailableFromDFOutput(const QByteArray &dfOutput)
|
||||
{
|
||||
const auto lines = filtered(dfOutput.split('\n'),
|
||||
|
||||
Reference in New Issue
Block a user