summaryrefslogtreecommitdiff
path: root/src/gui/dialogsmanager.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/gui/dialogsmanager.cpp
parent506a064c94e44d4f896fa9b2dc74d30e7f7f8c33 (diff)
downloadmanaverse-e21479ccc48ed8383a6ab72f45c43e12e8dffa69.tar.gz
manaverse-e21479ccc48ed8383a6ab72f45c43e12e8dffa69.tar.bz2
manaverse-e21479ccc48ed8383a6ab72f45c43e12e8dffa69.tar.xz
manaverse-e21479ccc48ed8383a6ab72f45c43e12e8dffa69.zip
Remove default values from okdialog constructor.
Diffstat (limited to 'src/gui/dialogsmanager.cpp')
-rw-r--r--src/gui/dialogsmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/dialogsmanager.cpp b/src/gui/dialogsmanager.cpp
index ac15d960d..e456b254f 100644
--- a/src/gui/dialogsmanager.cpp
+++ b/src/gui/dialogsmanager.cpp
@@ -73,7 +73,8 @@ Window *DialogsManager::openErrorDialog(const std::string &header,
{
if (settings.supportUrl.empty() || config.getBoolValue("hidesupport"))
{
- return new OkDialog(header, message, DialogType::ERROR, modal);
+ return new OkDialog(header, message, DialogType::ERROR,
+ modal, true, nullptr, 260);
}
else
{