summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/shortcutwindow.cpp')
-rw-r--r--src/gui/windows/shortcutwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp
index 8387d7e91..8b0e51472 100644
--- a/src/gui/windows/shortcutwindow.cpp
+++ b/src/gui/windows/shortcutwindow.cpp
@@ -26,6 +26,7 @@
#include "gui/widgets/tabbedarea.h"
#include "gui/widgets/layout.h"
+#include "gui/widgets/layouttype.h"
#include "gui/widgets/scrollarea.h"
#include "gui/widgets/shortcutcontainer.h"
#include "gui/widgets/tabs/tab.h"
@@ -104,7 +105,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
place(0, 0, mScrollArea, 5, 5).setPadding(0);
Layout &layout = getLayout();
- layout.setRowHeight(0, Layout::AUTO_SET);
+ layout.setRowHeight(0, LayoutType::SET);
layout.setMargin(0);
loadWindowState();
@@ -143,7 +144,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
place(0, 0, mTabs, 5, 5);
Layout &layout = getLayout();
- layout.setRowHeight(0, Layout::AUTO_SET);
+ layout.setRowHeight(0, LayoutType::SET);
layout.setMargin(0);
loadWindowState();