summaryrefslogtreecommitdiff
path: root/src/gui/dialogsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogsmanager.cpp')
-rw-r--r--src/gui/dialogsmanager.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/gui/dialogsmanager.cpp b/src/gui/dialogsmanager.cpp
index b71a27664..9d2bcb057 100644
--- a/src/gui/dialogsmanager.cpp
+++ b/src/gui/dialogsmanager.cpp
@@ -105,7 +105,10 @@ Window *DialogsManager::openErrorDialog(const std::string &header,
// TRANSLATORS: ok dialog button
_("Close"),
DialogType::ERROR,
- modal, true, nullptr, 260);
+ modal,
+ ShowCenter_true,
+ nullptr,
+ 260);
}
else
{
@@ -129,7 +132,10 @@ void DialogsManager::playerDeath()
// TRANSLATORS: ok dialog button
_("Revive"),
DialogType::OK,
- Modal_false, true, nullptr, 260);
+ Modal_false,
+ ShowCenter_true,
+ nullptr,
+ 260);
deathNotice->addActionListener(&postDeathListener);
}
}
@@ -158,7 +164,7 @@ void DialogsManager::attributeChanged(const int id,
_("OK"),
DialogType::OK,
Modal_false,
- true,
+ ShowCenter_true,
nullptr,
260);
weightNotice->addActionListener(
@@ -177,7 +183,7 @@ void DialogsManager::attributeChanged(const int id,
_("OK"),
DialogType::OK,
Modal_false,
- true,
+ ShowCenter_true,
nullptr,
260);
weightNotice->addActionListener(