fix tab spacing
authorMichael Schuster <michael@schuster.ms>
Sun, 27 Oct 2019 16:25:50 +0000 (17:25 +0100)
committerMichael Schuster <michael@schuster.ms>
Sun, 27 Oct 2019 16:25:50 +0000 (17:25 +0100)
Signed-off-by: Michael Schuster <michael@schuster.ms>
src/common/syncjournaldb.cpp
src/gui/folderman.cpp

index 3c10c7123165302c791f2c01782e150292bc4a9e..e4078efd9b3f2d621190e3aaef41d6f8e29600ec 100644 (file)
@@ -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
index 6822aa9526152c2420797822b24556f66d2661ff..88b112928ad96b1740f1cccda7d32806142484fc 100644 (file)
@@ -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();