summaryrefslogtreecommitdiff
path: root/src/gui/windows/charselectdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-20 18:04:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-20 18:04:19 +0300
commitd4b88a7ebce6222c34928c49925f972515593e89 (patch)
treeab3c8136bcc06ec84194738c83bef8af6df62752 /src/gui/windows/charselectdialog.cpp
parent6bf4a5aa68afb7d95632880c001286f2a721e1f5 (diff)
downloadmanaplus-d4b88a7ebce6222c34928c49925f972515593e89.tar.gz
manaplus-d4b88a7ebce6222c34928c49925f972515593e89.tar.bz2
manaplus-d4b88a7ebce6222c34928c49925f972515593e89.tar.xz
manaplus-d4b88a7ebce6222c34928c49925f972515593e89.zip
Move registrationoptions into separate file.
Diffstat (limited to 'src/gui/windows/charselectdialog.cpp')
-rw-r--r--src/gui/windows/charselectdialog.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index 8dccde964..167bd37f1 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -48,6 +48,7 @@
#include "net/logindata.h"
#include "net/loginhandler.h"
#include "net/net.h"
+#include "net/registrationoptions.h"
#include "debug.h"
@@ -96,7 +97,7 @@ CharSelectDialog::CharSelectDialog(LoginData *const data):
placer(0, 0, mSwitchLoginButton);
int n = 1;
- if (optionalActions & Net::LoginHandler::Unregister)
+ if (optionalActions & Net::RegistrationOptions::Unregister)
{
// TRANSLATORS: char select dialog. button.
mUnregisterButton = new Button(this, _("Unregister"),
@@ -108,7 +109,7 @@ CharSelectDialog::CharSelectDialog(LoginData *const data):
placer(n, 0, mChangePasswordButton);
n ++;
- if (optionalActions & Net::LoginHandler::ChangeEmail)
+ if (optionalActions & Net::RegistrationOptions::ChangeEmail)
{
// TRANSLATORS: char select dialog. button.
mChangeEmailButton = new Button(this, _("Change Email"),