summaryrefslogtreecommitdiff
path: root/src/gui/editserverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-07 12:57:45 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-07 12:57:45 +0300
commit5418946d4533b6022d5e33ff740b8cefcff5be97 (patch)
tree22e93de57462338ddab1daeee03fccecee28a262 /src/gui/editserverdialog.cpp
parent9bf73537758a630def27bd9310aa2f8714af784c (diff)
downloadplus-5418946d4533b6022d5e33ff740b8cefcff5be97.tar.gz
plus-5418946d4533b6022d5e33ff740b8cefcff5be97.tar.bz2
plus-5418946d4533b6022d5e33ff740b8cefcff5be97.tar.xz
plus-5418946d4533b6022d5e33ff740b8cefcff5be97.zip
improve editserverdialog.
Diffstat (limited to 'src/gui/editserverdialog.cpp')
-rw-r--r--src/gui/editserverdialog.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/editserverdialog.cpp b/src/gui/editserverdialog.cpp
index 34d15c76c..1361951c8 100644
--- a/src/gui/editserverdialog.cpp
+++ b/src/gui/editserverdialog.cpp
@@ -124,7 +124,8 @@ EditServerDialog::EditServerDialog(ServerDialog *const parent,
// Do this manually instead of calling reflowLayout so we can enforce a
// minimum width.
- int width = 0, height = 0;
+ int width = 0;
+ int height = 0;
getLayout().reflow(width, height);
if (width < 300)
{
@@ -196,11 +197,6 @@ EditServerDialog::~EditServerDialog()
delete mTypeListModel;
}
-void EditServerDialog::logic()
-{
- Window::logic();
-}
-
void EditServerDialog::action(const gcn::ActionEvent &event)
{
const std::string &eventId = event.getId();