summaryrefslogtreecommitdiff
path: root/src/gui/windows/charselectdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-16 22:43:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-16 22:45:07 +0300
commit940e0bbafc298553fba585e2604e9c1d0c5d37c7 (patch)
tree600c29347a8617c314af02e3ad30bf8e578afe0e /src/gui/windows/charselectdialog.cpp
parentc3be771906112df05821dc82539fdca2bf3d7991 (diff)
downloadplus-940e0bbafc298553fba585e2604e9c1d0c5d37c7.tar.gz
plus-940e0bbafc298553fba585e2604e9c1d0c5d37c7.tar.bz2
plus-940e0bbafc298553fba585e2604e9c1d0c5d37c7.tar.xz
plus-940e0bbafc298553fba585e2604e9c1d0c5d37c7.zip
Build pincodelistener only if eathena support enabled.
Diffstat (limited to 'src/gui/windows/charselectdialog.cpp')
-rw-r--r--src/gui/windows/charselectdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index 9e68da061..adfb46d63 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -186,6 +186,7 @@ void CharSelectDialog::postInit()
{
setVisible(true);
requestFocus();
+#ifdef EATHENA_SUPPORT
if (charServerHandler->isNeedCreatePin())
{
EditDialog *const dialog = new EditDialog(
@@ -193,6 +194,7 @@ void CharSelectDialog::postInit()
dialog->postInit();
dialog->addActionListener(&pincodeListener);
}
+#endif
}
void CharSelectDialog::action(const ActionEvent &event)