aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Christopher Hockley <christopher@putcocoa.in>2015-01-26 11:24:26 +0100
committerGravatar Christopher Hockley <christopher@putcocoa.in>2015-01-26 11:24:26 +0100
commit4cae581f699ebebe46996e9c65aa40fcbeb31616 (patch)
tree3948a19508e1ab9d8d33888a0ca3404bf0a93090
parente4374684684264f4264e85c4b12b02e4bcdcdb34 (diff)
No info found ErrorCode
Used in AccountValidator
-rw-r--r--src/core/abstract/MCMessageConstants.h1
-rw-r--r--src/core/provider/MCAccountValidator.cpp6
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;
}
}
}