summaryrefslogtreecommitdiff
path: root/src/gui/windows/questswindow.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/questswindow.cpp
parent7467404f40f2d6cde3bf46fcda03631a0f1ad797 (diff)
downloadmv-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.gz
mv-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.bz2
mv-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.xz
mv-cc965406e7903e890fc0c797c2684efc5c4624a6.zip
Add missing windows into reset to default size list.
Diffstat (limited to 'src/gui/windows/questswindow.cpp')
-rw-r--r--src/gui/windows/questswindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index 3985c3129..69c890c4e 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -32,6 +32,8 @@
#include "gui/models/questsmodel.h"
+#include "gui/windows/setupwindow.h"
+
#include "gui/widgets/browserbox.h"
#include "gui/widgets/button.h"
#include "gui/widgets/containerplacer.h"
@@ -97,6 +99,9 @@ QuestsWindow::QuestsWindow() :
setMinWidth(310);
setMinHeight(220);
+ if (setupWindow)
+ setupWindow->registerWindowForReset(this);
+
mQuestsListBox->setActionEventId("select");
mQuestsListBox->addActionListener(this);