diff --git a/src/common/syncjournaldb.cpp b/src/common/syncjournaldb.cpp index 3c10c7123..e4078efd9 100644 --- a/src/common/syncjournaldb.cpp +++ b/src/common/syncjournaldb.cpp @@ -120,7 +120,7 @@ QString SyncJournalDb::makeDbName(const QUrl &remoteUrl, journalPath.append(ba.left(6).toHex()); journalPath.append(".db"); - journalPath = dbPath + QLatin1Char('/') + journalPath; + journalPath = dbPath + QLatin1Char('/') + journalPath; // If the journal doesn't exist and we can't create a file // at that location, try again with a journal name that doesn't diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp index 6822aa952..88b112928 100644 --- a/src/gui/folderman.cpp +++ b/src/gui/folderman.cpp @@ -210,13 +210,13 @@ void FolderMan::setupFoldersHelper(QSettings &settings, AccountStatePtr account, folderDefinition.journalPath = defaultJournalPath; } - // Migration #2: journalPath now in DataAppDir, not root of local tree (cross-platform persistent user roaming files) + // Migration #2: journalPath now in DataAppDir, not root of local tree (cross-platform persistent user roaming files) if (folderDefinition.journalPath.at(0) == QChar('.')) { QFile oldJournal(folderDefinition.localPath + "/" + folderDefinition.journalPath); QFile oldJournalShm(folderDefinition.localPath + "/" + folderDefinition.journalPath.append("-shm")); QFile oldJournalWal(folderDefinition.localPath + "/" + folderDefinition.journalPath.append("-wal")); - folderDefinition.journalPath = defaultJournalPath; + folderDefinition.journalPath = defaultJournalPath; socketApi()->slotUnregisterPath(folderAlias); auto settings = account->settings(); @@ -224,7 +224,7 @@ void FolderMan::setupFoldersHelper(QSettings &settings, AccountStatePtr account, Folder *f = addFolderInternal(folderDefinition, account.data()); f->saveToSettings(); - oldJournal.remove(); + oldJournal.remove(); oldJournalShm.remove(); oldJournalWal.remove();