summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-24 00:27:10 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-24 00:27:10 +0300
commitcc965406e7903e890fc0c797c2684efc5c4624a6 (patch)
tree72efca27600ae734efa07d5194ff36db8767474a /src/gui/windows/whoisonline.cpp
parent7467404f40f2d6cde3bf46fcda03631a0f1ad797 (diff)
downloadmanaplus-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.gz
manaplus-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.bz2
manaplus-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.xz
manaplus-cc965406e7903e890fc0c797c2684efc5c4624a6.zip
Add missing windows into reset to default size list.
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r--src/gui/windows/whoisonline.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index ff2f15427..00187a31d 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -33,6 +33,7 @@
#include "gui/viewport.h"
#include "gui/windows/chatwindow.h"
+#include "gui/windows/setupwindow.h"
#include "gui/windows/socialwindow.h"
#include "gui/widgets/button.h"
@@ -126,6 +127,9 @@ void WhoIsOnline::postInit()
setStickyButtonLock(true);
setSaveVisible(true);
+ if (setupWindow)
+ setupWindow->registerWindowForReset(this);
+
mUpdateButton->setEnabled(false);
mUpdateButton->setDimension(Rect(5, 5, w - 10, 20 + 5));