diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/abstract/MCMessageConstants.h | 1 | ||||
-rw-r--r-- | src/core/provider/MCAccountValidator.cpp | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/core/abstract/MCMessageConstants.h b/src/core/abstract/MCMessageConstants.h index 1c489583..5a822d7f 100644 --- a/src/core/abstract/MCMessageConstants.h +++ b/src/core/abstract/MCMessageConstants.h @@ -250,6 +250,7 @@ namespace mailcore { ErrorNoop, ErrorGmailApplicationSpecificPasswordRequired, // 40 ErrorServerDate, + ErrorNoInfoFound, }; enum PartType { diff --git a/src/core/provider/MCAccountValidator.cpp b/src/core/provider/MCAccountValidator.cpp index efbbfab0..81871dab 100644 --- a/src/core/provider/MCAccountValidator.cpp +++ b/src/core/provider/MCAccountValidator.cpp @@ -106,7 +106,7 @@ bool AccountValidator::setup() if (provider->imapServices()->count() > 0) { mImapServices = provider->imapServices(); } else { - //mImapError = NewError? No Info found or provided; + mImapError = ErrorNoInfoFound; } } @@ -114,7 +114,7 @@ bool AccountValidator::setup() if (provider->popServices()->count() > 0) { mPopServices = provider->popServices(); } else { - //mPopError = NewError? No Info found or provided + mPopError = ErrorNoInfoFound; } } @@ -122,7 +122,7 @@ bool AccountValidator::setup() if (provider->smtpServices()->count() > 0) { mSmtpServices = provider->smtpServices(); } else { - //mSmtpError = NewError? No Info found or provided; + mSmtpError = ErrorNoInfoFound; } } } |