From 01a0e4b658241cc3dbd8a5d11d34a6de48dab159 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 May 2015 00:55:13 +0300 Subject: Add strong typed bool type Visible. --- src/gui/windows/charselectdialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/windows/charselectdialog.cpp') diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index c6e040065..5663ab387 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -141,7 +141,7 @@ CharSelectDialog::CharSelectDialog(LoginData *const data) : for (int i = 0; i < static_cast(mLoginData->characterSlots); i++) { CharacterDisplay *const character = new CharacterDisplay(this, this); - character->setVisible(false); + character->setVisible(Visible_false); mCharacterEntries.push_back(character); } @@ -188,7 +188,7 @@ CharSelectDialog::~CharSelectDialog() void CharSelectDialog::postInit() { Window::postInit(); - setVisible(true); + setVisible(Visible_true); requestFocus(); #ifdef EATHENA_SUPPORT if (charServerHandler->isNeedCreatePin()) @@ -493,7 +493,7 @@ void CharSelectDialog::attemptCharacterSelect(const int index) if (mLocked || !mCharacterEntries[index]) return; - setVisible(false); + setVisible(Visible_false); if (mCharServerHandler) { mCharServerHandler->chooseCharacter( -- cgit v1.2.3-60-g2f50