diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-13 20:33:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-13 20:33:37 +0300 |
commit | 5ae6d3b29f93fe2bd7222eb843c8688561ac612c (patch) | |
tree | bb531156ba9adb428fea2fae5b97f94d3198d70d /src/gui/windows/connectiondialog.cpp | |
parent | 938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff) | |
download | mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2 mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip |
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/connectiondialog.cpp')
-rw-r--r-- | src/gui/windows/connectiondialog.cpp | 6 |
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() |