summaryrefslogtreecommitdiff
path: root/src/gui/windows/connectiondialog.cpp
diff options
context:
space:
mode:
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()