diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/changeemaildialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/changepassworddialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/charcreatedialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/charselectdialog.cpp | 4 | ||||
-rw-r--r-- | src/gui/windows/editserverdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/okdialog.cpp | 4 | ||||
-rw-r--r-- | src/gui/windows/okdialog.h | 2 | ||||
-rw-r--r-- | src/gui/windows/registerdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/socialwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/unregisterdialog.cpp | 2 |
10 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/windows/changeemaildialog.cpp b/src/gui/windows/changeemaildialog.cpp index 953f8e75c..fcfd0bfd3 100644 --- a/src/gui/windows/changeemaildialog.cpp +++ b/src/gui/windows/changeemaildialog.cpp @@ -167,7 +167,7 @@ void ChangeEmailDialog::action(const ActionEvent &event) _("OK"), DialogType::ERROR, Modal_true, - true, + ShowCenter_true, nullptr, 260); dlg->addActionListener(mWrongDataNoticeListener); diff --git a/src/gui/windows/changepassworddialog.cpp b/src/gui/windows/changepassworddialog.cpp index 24f8055f6..3fae963ed 100644 --- a/src/gui/windows/changepassworddialog.cpp +++ b/src/gui/windows/changepassworddialog.cpp @@ -157,7 +157,7 @@ void ChangePasswordDialog::action(const ActionEvent &event) _("OK"), DialogType::ERROR, Modal_true, - true, + ShowCenter_true, nullptr, 260); dlg->addActionListener(mWrongDataNoticeListener); diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index 065e6db15..4b10d5cf3 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -380,7 +380,7 @@ void CharCreateDialog::action(const ActionEvent &event) _("OK"), DialogType::ERROR, Modal_true, - this, + ShowCenter_true, nullptr, 260); } diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index 6d3c75e87..4dc0440aa 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -280,7 +280,7 @@ void CharSelectDialog::action(const ActionEvent &event) _("OK"), DialogType::SILENCE, Modal_true, - true, + ShowCenter_true, nullptr, 260); } @@ -325,7 +325,7 @@ void CharSelectDialog::action(const ActionEvent &event) _("OK"), DialogType::ERROR, Modal_true, - true, + ShowCenter_true, nullptr, 260); } diff --git a/src/gui/windows/editserverdialog.cpp b/src/gui/windows/editserverdialog.cpp index 5ad5c9c32..a9be34595 100644 --- a/src/gui/windows/editserverdialog.cpp +++ b/src/gui/windows/editserverdialog.cpp @@ -217,7 +217,7 @@ void EditServerDialog::action(const ActionEvent &event) _("OK"), DialogType::ERROR, Modal_true, - true, + ShowCenter_true, nullptr, 260); dlg->addActionListener(this); diff --git a/src/gui/windows/okdialog.cpp b/src/gui/windows/okdialog.cpp index 1f77af3f9..1a6c0c3c8 100644 --- a/src/gui/windows/okdialog.cpp +++ b/src/gui/windows/okdialog.cpp @@ -39,7 +39,7 @@ OkDialog::OkDialog(const std::string &restrict title, const std::string &restrict button, const int soundEvent, const Modal modal, - const bool showCenter, + const ShowCenter showCenter, Window *const parent, const int minWidth) : Window(title, modal, parent, "ok.xml"), @@ -73,7 +73,7 @@ OkDialog::OkDialog(const std::string &restrict title, add(mTextBox); add(okButton); - if (showCenter) + if (showCenter == ShowCenter_true) center(); else centerHorisontally(); diff --git a/src/gui/windows/okdialog.h b/src/gui/windows/okdialog.h index 3d7fd140b..1a6b022d9 100644 --- a/src/gui/windows/okdialog.h +++ b/src/gui/windows/okdialog.h @@ -50,7 +50,7 @@ class OkDialog final : public Window, const std::string &restrict button, const int soundEvent, const Modal modal, - const bool showCenter, + const ShowCenter showCenter, Window *const parent, const int minWidth); diff --git a/src/gui/windows/registerdialog.cpp b/src/gui/windows/registerdialog.cpp index dca38dad6..70537bd95 100644 --- a/src/gui/windows/registerdialog.cpp +++ b/src/gui/windows/registerdialog.cpp @@ -243,7 +243,7 @@ void RegisterDialog::action(const ActionEvent &event) _("Error"), errorMsg, _("OK"), DialogType::ERROR, Modal_true, - true, + ShowCenter_true, nullptr, 260); dlg->addActionListener(mWrongDataNoticeListener); diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp index f1d5550dd..ffe9688c6 100644 --- a/src/gui/windows/socialwindow.cpp +++ b/src/gui/windows/socialwindow.cpp @@ -507,7 +507,7 @@ void SocialWindow::showPartyCreate() _("OK"), DialogType::ERROR, Modal_true, - true, + ShowCenter_true, this, 260); return; diff --git a/src/gui/windows/unregisterdialog.cpp b/src/gui/windows/unregisterdialog.cpp index 7dc18da4e..32b2e9555 100644 --- a/src/gui/windows/unregisterdialog.cpp +++ b/src/gui/windows/unregisterdialog.cpp @@ -146,7 +146,7 @@ void UnRegisterDialog::action(const ActionEvent &event) _("OK"), DialogType::ERROR, Modal_true, - true, + ShowCenter_true, nullptr, 260); dlg->addActionListener(mWrongDataNoticeListener); |