diff options
Diffstat (limited to 'kmail/kmfoldercachedimap.cpp')
-rw-r--r-- | kmail/kmfoldercachedimap.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/kmfoldercachedimap.cpp b/kmail/kmfoldercachedimap.cpp index 02bec8ed0..72f1113c2 100644 --- a/kmail/kmfoldercachedimap.cpp +++ b/kmail/kmfoldercachedimap.cpp @@ -828,13 +828,13 @@ TQString KMFolderCachedImap::state2String( int state ) const case SYNC_STATE_SET_ANNOTATIONS: return "SYNC_STATE_SET_ANNOTATIONS"; case SYNC_STATE_GET_ACLS: return "SYNC_STATE_GET_ACLS"; case SYNC_STATE_SET_ACLS: return "SYNC_STATE_SET_ACLS"; - case SYNC_STATE_GET_TQUOTA: return "SYNC_STATE_GET_TQUOTA"; + case SYNC_STATE_GET_QUOTA: return "SYNC_STATE_GET_QUOTA"; case SYNC_STATE_FIND_SUBFOLDERS: return "SYNC_STATE_FIND_SUBFOLDERS"; case SYNC_STATE_SYNC_SUBFOLDERS: return "SYNC_STATE_SYNC_SUBFOLDERS"; case SYNC_STATE_RENAME_FOLDER: return "SYNC_STATE_RENAME_FOLDER"; case SYNC_STATE_CHECK_UIDVALIDITY: return "SYNC_STATE_CHECK_UIDVALIDITY"; case SYNC_STATE_CLOSE: return "SYNC_STATE_CLOSE"; - case SYNC_STATE_GET_SUBFOLDER_TQUOTA: return "SYNC_STATE_GET_SUBFOLDER_TQUOTA"; + case SYNC_STATE_GET_SUBFOLDER_QUOTA: return "SYNC_STATE_GET_SUBFOLDER_QUOTA"; default: return "Unknown state"; } } @@ -1293,13 +1293,13 @@ void KMFolderCachedImap::serverSyncInternal() case SYNC_STATE_SYNC_SUBFOLDERS: syncNextSubFolder( false ); break; - case SYNC_STATE_GET_SUBFOLDER_TQUOTA: + case SYNC_STATE_GET_SUBFOLDER_QUOTA: // Sync the subfolders again, so that the quota information is updated for all. This state is // only entered if the close to quota property of one subfolder changed in the previous state. syncNextSubFolder( true ); break; - case SYNC_STATE_GET_TQUOTA: + case SYNC_STATE_GET_QUOTA: mSyncState = SYNC_STATE_CLOSE; if( !noContent() && mAccount->hasQuotaSupport() ) { mProgress = 98; @@ -1346,10 +1346,10 @@ void KMFolderCachedImap::syncNextSubFolder( bool secondSync ) if( mSubfoldersForSync.isEmpty() ) { // Sync finished, and a close to quota property of an subfolder changed, therefore go into - // the SYNC_STATE_GET_SUBFOLDER_TQUOTA state and sync again + // the SYNC_STATE_GET_SUBFOLDER_QUOTA state and sync again if ( mSomeSubFolderCloseToQuotaChanged && mRecurse && !secondSync ) { buildSubFolderList(); - mSyncState = SYNC_STATE_GET_SUBFOLDER_TQUOTA; + mSyncState = SYNC_STATE_GET_SUBFOLDER_QUOTA; serverSyncInternal(); } @@ -1358,7 +1358,7 @@ void KMFolderCachedImap::syncNextSubFolder( bool secondSync ) // Quota checking has to come after syncing subfolder, otherwise the quota information would // be outdated, since the subfolders can change in size during the syncing. // https://issues.kolab.org/issue4066 - mSyncState = SYNC_STATE_GET_TQUOTA; + mSyncState = SYNC_STATE_GET_QUOTA; serverSyncInternal(); } } else { |