LogDir: Go to new file on Problem/Abort too #6442

This commit is contained in:
Christian Kamm 2018-04-10 12:20:12 +02:00 committed by Roeland Jago Douma
parent a7b7344659
commit 9319b6594e
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -203,7 +203,10 @@ void ownCloudGui::slotSyncStateChange(Folder *folder)
qCInfo(lcApplication) << "Sync state changed for folder " << folder->remoteUrl().toString() << ": " << result.statusString(); qCInfo(lcApplication) << "Sync state changed for folder " << folder->remoteUrl().toString() << ": " << result.statusString();
if (result.status() == SyncResult::Success || result.status() == SyncResult::Error) { if (result.status() == SyncResult::Success
|| result.status() == SyncResult::Problem
|| result.status() == SyncResult::SyncAbortRequested
|| result.status() == SyncResult::Error) {
Logger::instance()->enterNextLogFile(); Logger::instance()->enterNextLogFile();
} }