diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-09-22 12:47:40 +0300 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-12-15 12:59:20 +0300 |
commit | 93152761a1c92a3e9b93bf8e8874a68497439ee2 (patch) | |
tree | 3d0d837f8373f88d605342608d07771412ce0890 /src/libsync/syncengine.cpp | |
parent | 356192fb1dd7e310cc606532c45672d7adc63bd5 (diff) |
Use verbose function names instead of direct member access
Diffstat (limited to 'src/libsync/syncengine.cpp')
-rw-r--r-- | src/libsync/syncengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsync/syncengine.cpp b/src/libsync/syncengine.cpp index 54289d9f0..d314205b1 100644 --- a/src/libsync/syncengine.cpp +++ b/src/libsync/syncengine.cpp @@ -217,7 +217,7 @@ void SyncEngine::deleteStaleDownloadInfos(const SyncFileItemVector &syncItems) const QVector<SyncJournalDb::DownloadInfo> deleted_infos = _journal->getAndDeleteStaleDownloadInfos(download_file_paths); foreach (const SyncJournalDb::DownloadInfo &deleted_info, deleted_infos) { - const QString tmppath = _propagator->getFilePath(deleted_info._tmpfile); + const QString tmppath = _propagator->fullLocalPath(deleted_info._tmpfile); qCInfo(lcEngine) << "Deleting stale temporary file: " << tmppath; FileSystem::remove(tmppath); } @@ -274,7 +274,7 @@ void SyncEngine::conflictRecordMaintenance() // missing ones. const auto conflictRecordPaths = _journal->conflictRecordPaths(); for (const auto &path : conflictRecordPaths) { - auto fsPath = _propagator->getFilePath(QString::fromUtf8(path)); + auto fsPath = _propagator->fullLocalPath(QString::fromUtf8(path)); if (!QFileInfo(fsPath).exists()) { _journal->deleteConflictRecord(path); } |