summaryrefslogtreecommitdiff
path: root/src/gui/windows/helpwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-14 22:34:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-14 22:34:39 +0300
commite149243eb20a1bb74657914122bcabc01de2ae36 (patch)
tree28df950c01da2d3d357204c0273531607b682e35 /src/gui/windows/helpwindow.cpp
parent4e7b98accb8f6fa927711174e4ee82a731317c74 (diff)
downloadmanaverse-e149243eb20a1bb74657914122bcabc01de2ae36.tar.gz
manaverse-e149243eb20a1bb74657914122bcabc01de2ae36.tar.bz2
manaverse-e149243eb20a1bb74657914122bcabc01de2ae36.tar.xz
manaverse-e149243eb20a1bb74657914122bcabc01de2ae36.zip
Move enum from layout into separate file.
Diffstat (limited to 'src/gui/windows/helpwindow.cpp')
-rw-r--r--src/gui/windows/helpwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp
index fa9963217..934e01359 100644
--- a/src/gui/windows/helpwindow.cpp
+++ b/src/gui/windows/helpwindow.cpp
@@ -32,6 +32,7 @@
#include "gui/widgets/button.h"
#include "gui/widgets/browserbox.h"
#include "gui/widgets/layout.h"
+#include "gui/widgets/layouttype.h"
#include "gui/widgets/scrollarea.h"
#include "resources/resourcemanager.h"
@@ -84,7 +85,7 @@ HelpWindow::HelpWindow() :
place(0, 0, mScrollArea, 5, 3).setPadding(3);
Layout &layout = getLayout();
- layout.setRowHeight(0, Layout::AUTO_SET);
+ layout.setRowHeight(0, LayoutType::SET);
loadWindowState();
loadTags();