diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2022-07-21 15:58:09 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2022-07-21 16:05:38 +0000 |
commit | afe0b5a42d3cd33e91ae882fc4b24b8daa5d8e2b (patch) | |
tree | 88d9610d6d56b83e58f64afc455d6ffd16a793a1 /src/plugins/coreplugin/mainwindow.cpp | |
parent | c56c3ea024e125ccd2806957ab29404cc8f049eb (diff) |
Utils: Use FilePaths alias instead of QList<FilePath>
Change-Id: I2eb0956377e46a34e73208b301eb662704a25e8b
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/plugins/coreplugin/mainwindow.cpp')
-rw-r--r-- | src/plugins/coreplugin/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp index 44b7233d5f..66c4934738 100644 --- a/src/plugins/coreplugin/mainwindow.cpp +++ b/src/plugins/coreplugin/mainwindow.cpp @@ -1473,8 +1473,8 @@ void MainWindow::changeLog() ICore::raiseWindow(dialog); return; } - const QList<FilePath> files = ICore::resourcePath("changelog") - .dirEntries({{"changes-*"}, QDir::Files}); + const FilePaths files = + ICore::resourcePath("changelog").dirEntries({{"changes-*"}, QDir::Files}); static const QRegularExpression versionRegex("\\d+[.]\\d+[.]\\d+"); using VersionFilePair = std::pair<QVersionNumber, FilePath>; QList<VersionFilePair> versionedFiles = Utils::transform(files, [](const FilePath &fp) { |