summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/projectmodels.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2021-06-04 08:38:29 +0200
committerDavid Schulz <david.schulz@qt.io>2021-06-04 09:32:42 +0000
commiteafc52cf1e1f01caf3aaeb5869cd9acf7f4ae4b9 (patch)
treedfc9df95fbea2ca2094832e2ffbaf959edca1861 /src/plugins/projectexplorer/projectmodels.cpp
parent406533fdba586c43d16e2e447af3eda39bc1948a (diff)
downloadqt-creator-eafc52cf1e1f01caf3aaeb5869cd9acf7f4ae4b9.tar.gz
Utils: more toFileInfo cleanup
Change-Id: I78f501fb9a262a0866453fc2a66b56a78d6d82ab Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/projectmodels.cpp')
-rw-r--r--src/plugins/projectexplorer/projectmodels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectmodels.cpp b/src/plugins/projectexplorer/projectmodels.cpp
index b765c2571e..425f53548d 100644
--- a/src/plugins/projectexplorer/projectmodels.cpp
+++ b/src/plugins/projectexplorer/projectmodels.cpp
@@ -219,7 +219,7 @@ bool FlatModel::setData(const QModelIndex &index, const QVariant &value, int rol
Core::ICore::dialogParent(), tr("Rename More Files?"),
tr("Would you like to rename these files as well?\n %1")
.arg(transform<QStringList>(candidateNodes, [](const Node *n) {
- return n->filePath().toFileInfo().fileName();
+ return n->filePath().fileName();
}).join("\n ")));
if (reply == QMessageBox::Yes) {
for (Node * const n : candidateNodes) {