diff options
author | Marcus Tillmanns <marcus.tillmanns@qt.io> | 2022-08-02 09:27:21 +0200 |
---|---|---|
committer | Marcus Tillmanns <marcus.tillmanns@qt.io> | 2022-08-04 11:33:53 +0000 |
commit | 04205d12253cca19989dd9f5685a1c2a42956584 (patch) | |
tree | 4ce446142804fa7d43dd0310f9a3edffbfdf7682 /src/plugins/resourceeditor | |
parent | 2d79bff3c1e1aa2ee2d2eb68251c37eb61ce595a (diff) |
FileUtils: Adds toFilePathList function
Change-Id: Ie3137751135fdb6c3161cc886f307323fcce6b72
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/resourceeditor')
-rw-r--r-- | src/plugins/resourceeditor/qrceditor/resourcefile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/resourceeditor/qrceditor/resourcefile.cpp b/src/plugins/resourceeditor/qrceditor/resourcefile.cpp index fd8e7469a9..42071539d4 100644 --- a/src/plugins/resourceeditor/qrceditor/resourcefile.cpp +++ b/src/plugins/resourceeditor/qrceditor/resourcefile.cpp @@ -998,7 +998,7 @@ void ResourceModel::addFiles(int prefixIndex, const QStringList &fileNames, int lastFile = cnt + unique_list.count() - 1; Core::VcsManager::promptToAdd(m_resource_file.filePath().absolutePath(), - Utils::transform(fileNames, &FilePath::fromString)); + FileUtils::toFilePathList(fileNames)); } |