Handle new sync result enum.

This commit is contained in:
Klaas Freitag 2013-10-03 15:32:44 +02:00
parent be328581a7
commit c7d30bae98
2 changed files with 5 additions and 1 deletions

View file

@ -557,7 +557,8 @@ SyncResult FolderMan::accountStatus(const QList<Folder*> &folders)
if ( overallResult.status() != SyncResult::Error )
overallResult.setStatus( SyncResult::SetupError );
break;
case SyncResult::SyncAbortRequested:
break;
// no default case on purpose, check compiler warnings
}
}

View file

@ -67,6 +67,9 @@ QString SyncResult::statusString() const
case Unavailable:
re = QLatin1String("Not availabe");
break;
case SyncAbortRequested:
re = QLatin1String("Sync Request aborted by user");
break;
}
return re;
}