From 940e0bbafc298553fba585e2604e9c1d0c5d37c7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Feb 2015 22:43:29 +0300 Subject: Build pincodelistener only if eathena support enabled. --- src/gui/windows/charselectdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui') 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) -- cgit v1.2.3-70-g09d2