summaryrefslogtreecommitdiff
path: root/src/gui/windows/editserverdialog.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/windows/editserverdialog.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/gui/windows/editserverdialog.cpp')
-rw-r--r--src/gui/windows/editserverdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/editserverdialog.cpp b/src/gui/windows/editserverdialog.cpp
index d72cdf368..1b8127eaf 100644
--- a/src/gui/windows/editserverdialog.cpp
+++ b/src/gui/windows/editserverdialog.cpp
@@ -194,7 +194,8 @@ void EditServerDialog::action(const ActionEvent &event)
OkDialog *const dlg = new OkDialog(_("Error"),
// TRANSLATORS: edit server dialog error message
_("Please at least type both the address and the port "
- "of the server."), DialogType::ERROR);
+ "of the server."), DialogType::ERROR,
+ true, true, nullptr, 260);
dlg->addActionListener(this);
}
else