From e149243eb20a1bb74657914122bcabc01de2ae36 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 14 May 2014 22:34:39 +0300 Subject: Move enum from layout into separate file. --- src/gui/windows/didyouknowwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/didyouknowwindow.cpp') diff --git a/src/gui/windows/didyouknowwindow.cpp b/src/gui/windows/didyouknowwindow.cpp index 79ad4c208..09051e9c0 100644 --- a/src/gui/windows/didyouknowwindow.cpp +++ b/src/gui/windows/didyouknowwindow.cpp @@ -32,6 +32,7 @@ #include "gui/widgets/browserbox.h" #include "gui/widgets/checkbox.h" #include "gui/widgets/layout.h" +#include "gui/widgets/layouttype.h" #include "gui/widgets/scrollarea.h" #include "utils/gettext.h" @@ -92,7 +93,7 @@ DidYouKnowWindow::DidYouKnowWindow() : place(4, 4, okButton); Layout &layout = getLayout(); - layout.setRowHeight(0, Layout::AUTO_SET); + layout.setRowHeight(0, LayoutType::SET); loadWindowState(); enableVisibleSound(true); -- cgit v1.2.3-70-g09d2