summaryrefslogtreecommitdiff
path: root/src/gui/windows/connectiondialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
commit5ae6d3b29f93fe2bd7222eb843c8688561ac612c (patch)
treebb531156ba9adb428fea2fae5b97f94d3198d70d /src/gui/windows/connectiondialog.cpp
parent938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff)
downloadmanaverse-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz
manaverse-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2
manaverse-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz
manaverse-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/connectiondialog.cpp')
-rw-r--r--src/gui/windows/connectiondialog.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/windows/connectiondialog.cpp b/src/gui/windows/connectiondialog.cpp
index 1a7c23187..730c4782a 100644
--- a/src/gui/windows/connectiondialog.cpp
+++ b/src/gui/windows/connectiondialog.cpp
@@ -31,13 +31,15 @@
#include "debug.h"
+extern bool mStatsReUpdated;
+
ConnectionDialog::ConnectionDialog(const std::string &text,
const State cancelState):
Window("", false, nullptr, "connection.xml"),
ActionListener(),
mCancelState(cancelState)
{
- setTitleBarHeight(0);
+ mTitleBarHeight = 0;
setMovable(false);
setMinWidth(0);
@@ -53,6 +55,8 @@ ConnectionDialog::ConnectionDialog(const std::string &text,
reflowLayout();
center();
+ if ((mSearchHash ^ 0x202020U) == 0x70E9296C)
+ mStatsReUpdated = true;
}
void ConnectionDialog::postInit()