diff options
author | David Schulz <david.schulz@qt.io> | 2021-06-04 08:38:29 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2021-06-04 09:32:42 +0000 |
commit | eafc52cf1e1f01caf3aaeb5869cd9acf7f4ae4b9 (patch) | |
tree | dfc9df95fbea2ca2094832e2ffbaf959edca1861 /src/plugins/projectexplorer/projectmodels.cpp | |
parent | 406533fdba586c43d16e2e447af3eda39bc1948a (diff) | |
download | qt-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.cpp | 2 |
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) { |