summaryrefslogtreecommitdiff
path: root/src/gui/windows/charselectdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-28 00:55:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-28 00:55:13 +0300
commit01a0e4b658241cc3dbd8a5d11d34a6de48dab159 (patch)
tree37294c079b9a05768b7380f7595784eb73485769 /src/gui/windows/charselectdialog.cpp
parent072b727ae4d072d6c84f3331d78ca5a2ac76d271 (diff)
downloadManaVerse-01a0e4b658241cc3dbd8a5d11d34a6de48dab159.tar.gz
ManaVerse-01a0e4b658241cc3dbd8a5d11d34a6de48dab159.tar.bz2
ManaVerse-01a0e4b658241cc3dbd8a5d11d34a6de48dab159.tar.xz
ManaVerse-01a0e4b658241cc3dbd8a5d11d34a6de48dab159.zip
Add strong typed bool type Visible.
Diffstat (limited to 'src/gui/windows/charselectdialog.cpp')
-rw-r--r--src/gui/windows/charselectdialog.cpp6
1 files changed, 3 insertions, 3 deletions
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<int>(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(