diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4699e072..63f56818 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1129,19 +1129,14 @@ int main(int argc, char *argv[]) break; - case STATE_CHANGEEMAIL_ATTEMPT: - logger->log("State: CHANGE EMAIL ATTEMPT"); - Net::getLoginHandler()->changeEmail(loginData.newEmail); - break; - case STATE_CHANGEEMAIL: logger->log("State: CHANGE EMAIL"); - currentDialog = new OkDialog(_("Email Address Change"), - _("Email address changed successfully!")); - currentDialog->addActionListener(&accountListener); - currentDialog = NULL; // OkDialog deletes itself - loginData.email = loginData.newEmail; - loginData.newEmail = ""; + // TODO + break; + + case STATE_CHANGEEMAIL_ATTEMPT: + logger->log("State: CHANGE EMAIL ATTEMPT"); + // TODO break; case STATE_CHANGEPASSWORD_ATTEMPT: |