diff options
author | allexzander <blackslayer4@gmail.com> | 2021-02-12 00:21:12 +0300 |
---|---|---|
committer | allexzander <blackslayer4@gmail.com> | 2021-02-16 10:30:08 +0300 |
commit | 4d66d209bc4d46e42a97ba20cda908be84702093 (patch) | |
tree | f267245018c00141f5dfa1ab25191026be1edfcf /src/libsync/discovery.cpp | |
parent | 642320c007e02c3e1921a0060c15797598039415 (diff) |
Fix incorrect logger output for non-latin strings.
Signed-off-by: allexzander <blackslayer4@gmail.com>
Diffstat (limited to 'src/libsync/discovery.cpp')
-rw-r--r-- | src/libsync/discovery.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index 6c0254600..95cb7bf34 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -319,7 +319,7 @@ void ProcessDirectoryJob::processFile(PathTuple path, << " | inode: " << dbEntry._inode << "/" << localEntry.inode << "/" << " | type: " << dbEntry._type << "/" << localEntry.type << "/" << (serverEntry.isDirectory ? ItemTypeDirectory : ItemTypeFile) << " | e2ee: " << dbEntry._isE2eEncrypted << "/" << serverEntry.isE2eEncrypted - << " | e2eeMangledName: " << dbEntry._e2eMangledName << "/" << serverEntry.e2eMangledName; + << " | e2eeMangledName: " << dbEntry.e2eMangledName() << "/" << serverEntry.e2eMangledName; if (_discoveryData->isRenamed(path._original)) { qCDebug(lcDisco) << "Ignoring renamed"; @@ -564,7 +564,7 @@ void ProcessDirectoryJob::processFileAnalyzeRemoteInfo( } // Now we know there is a sane rename candidate. - QString originalPath = QString::fromUtf8(base._path); + QString originalPath = base.path(); if (_discoveryData->isRenamed(originalPath)) { qCInfo(lcDisco, "folder already has a rename entry, skipping"); @@ -896,7 +896,7 @@ void ProcessDirectoryJob::processFileAnalyzeLocalInfo( dbError(); return; } - const auto originalPath = QString::fromUtf8(base._path); + const auto originalPath = base.path(); // Function to gradually check conditions for accepting a move-candidate auto moveCheck = [&]() { |