diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-16 22:43:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-16 22:45:07 +0300 |
commit | 940e0bbafc298553fba585e2604e9c1d0c5d37c7 (patch) | |
tree | 600c29347a8617c314af02e3ad30bf8e578afe0e /src/gui | |
parent | c3be771906112df05821dc82539fdca2bf3d7991 (diff) | |
download | manaplus-940e0bbafc298553fba585e2604e9c1d0c5d37c7.tar.gz manaplus-940e0bbafc298553fba585e2604e9c1d0c5d37c7.tar.bz2 manaplus-940e0bbafc298553fba585e2604e9c1d0c5d37c7.tar.xz manaplus-940e0bbafc298553fba585e2604e9c1d0c5d37c7.zip |
Build pincodelistener only if eathena support enabled.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/charselectdialog.cpp | 2 |
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) |