diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-01 12:48:28 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-01 12:48:28 -0600 |
commit | da61b7e9cb40e75ad0d74cc64853bf1b08d0a031 (patch) | |
tree | a1d5157ac530b42ce4ca2c316fcaa419cc23c01c /src/main.cpp | |
parent | 83fd36204202b4b5cca7e6cdb37c025919f32f08 (diff) | |
download | mana-da61b7e9cb40e75ad0d74cc64853bf1b08d0a031.tar.gz mana-da61b7e9cb40e75ad0d74cc64853bf1b08d0a031.tar.bz2 mana-da61b7e9cb40e75ad0d74cc64853bf1b08d0a031.tar.xz mana-da61b7e9cb40e75ad0d74cc64853bf1b08d0a031.zip |
Finish merging registration dialog
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: |