summaryrefslogtreecommitdiff
path: root/src/gui/windows/killstats.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/killstats.cpp
parent7467404f40f2d6cde3bf46fcda03631a0f1ad797 (diff)
downloadmanaverse-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.gz
manaverse-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.bz2
manaverse-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.xz
manaverse-cc965406e7903e890fc0c797c2684efc5c4624a6.zip
Add missing windows into reset to default size list.
Diffstat (limited to 'src/gui/windows/killstats.cpp')
-rw-r--r--src/gui/windows/killstats.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/killstats.cpp b/src/gui/windows/killstats.cpp
index c266683f3..b5189b455 100644
--- a/src/gui/windows/killstats.cpp
+++ b/src/gui/windows/killstats.cpp
@@ -26,6 +26,8 @@
#include "gui/widgets/label.h"
#include "gui/widgets/layoutcell.h"
+#include "gui/windows/setupwindow.h"
+
#include "actormanager.h"
#include "client.h"
#include "game.h"
@@ -114,6 +116,9 @@ KillStats::KillStats() :
setStickyButtonLock(true);
setDefaultSize(250, 250, 350, 300);
+ if (setupWindow)
+ setupWindow->registerWindowForReset(this);
+
const int xp(PlayerInfo::getAttribute(Attributes::EXP));
int xpNextLevel(PlayerInfo::getAttribute(Attributes::EXP_NEEDED));