From e21479ccc48ed8383a6ab72f45c43e12e8dffa69 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Aug 2014 21:26:04 +0300 Subject: Remove default values from okdialog constructor. --- src/gamemodifiers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gamemodifiers.cpp') 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(); -- cgit v1.2.3-70-g09d2