summaryrefslogtreecommitdiff
path: root/src/gamemodifiers.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-18 21:26:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-18 21:26:04 +0300
commite21479ccc48ed8383a6ab72f45c43e12e8dffa69 (patch)
tree2882139edd93b0e3ae72fc541b366ed7246e46b2 /src/gamemodifiers.cpp
parent506a064c94e44d4f896fa9b2dc74d30e7f7f8c33 (diff)
downloadplus-e21479ccc48ed8383a6ab72f45c43e12e8dffa69.tar.gz
plus-e21479ccc48ed8383a6ab72f45c43e12e8dffa69.tar.bz2
plus-e21479ccc48ed8383a6ab72f45c43e12e8dffa69.tar.xz
plus-e21479ccc48ed8383a6ab72f45c43e12e8dffa69.zip
Remove default values from okdialog constructor.
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r--src/gamemodifiers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp
index fc60211e0..0c2427ac6 100644
--- a/src/gamemodifiers.cpp
+++ b/src/gamemodifiers.cpp
@@ -418,7 +418,7 @@ void GameModifiers::changeAwayMode()
// TRANSLATORS: away message box header
OkDialog *const dialog = new OkDialog(_("Away"),
config.getStringValue("afkMessage"),
- DialogType::SILENCE, true, false);
+ DialogType::SILENCE, true, false, nullptr, 260);
localPlayer->setAwayDialog(dialog);
dialog->addActionListener(localPlayer->getAwayListener());
soundManager.volumeOff();