summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-06-08 20:51:11 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-06-08 20:51:11 +0200
commit0d873719eb6324226eb3b20540797afb6ae20f26 (patch)
tree3468da5298a48293d6df5c50a7dfbc19e105c1c4 /src/organizercore.cpp
parent56f6e5504b9f109aed94afd7c0ccf024be3072df (diff)
Replace QString::fromStdWString by ToQString.
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 27f54d4b..b167b8e3 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -863,7 +863,7 @@ QStringList OrganizerCore::findFiles(
if (dir != nullptr) {
std::vector<FileEntryPtr> files = dir->getFiles();
for (FileEntryPtr &file: files) {
- QString fullPath = QString::fromStdWString(file->getFullPath());
+ QString fullPath = ToQString(file->getFullPath());
if (filter(fullPath)) {
result.append(fullPath);
}