diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-14 22:34:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-14 22:34:39 +0300 |
commit | e149243eb20a1bb74657914122bcabc01de2ae36 (patch) | |
tree | 28df950c01da2d3d357204c0273531607b682e35 /src/gui/windows/selldialog.cpp | |
parent | 4e7b98accb8f6fa927711174e4ee82a731317c74 (diff) | |
download | mv-e149243eb20a1bb74657914122bcabc01de2ae36.tar.gz mv-e149243eb20a1bb74657914122bcabc01de2ae36.tar.bz2 mv-e149243eb20a1bb74657914122bcabc01de2ae36.tar.xz mv-e149243eb20a1bb74657914122bcabc01de2ae36.zip |
Move enum from layout into separate file.
Diffstat (limited to 'src/gui/windows/selldialog.cpp')
-rw-r--r-- | src/gui/windows/selldialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/selldialog.cpp b/src/gui/windows/selldialog.cpp index b317d6f54..691624e06 100644 --- a/src/gui/windows/selldialog.cpp +++ b/src/gui/windows/selldialog.cpp @@ -36,6 +36,7 @@ #include "gui/widgets/containerplacer.h" #include "gui/widgets/label.h" #include "gui/widgets/layout.h" +#include "gui/widgets/layouttype.h" #include "gui/widgets/scrollarea.h" #include "gui/widgets/shoplistbox.h" #include "gui/widgets/slider.h" @@ -152,7 +153,7 @@ void SellDialog::init() placer(7, 7, mQuitButton); Layout &layout = getLayout(); - layout.setRowHeight(0, Layout::AUTO_SET); + layout.setRowHeight(0, LayoutType::SET); center(); loadWindowState(); |