diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-24 01:21:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-24 01:21:54 +0300 |
commit | d8abec8cfce526f9b4779b674b172514100d01a2 (patch) | |
tree | 305c62d9503a1a508044883bcd336ea07d3c17f8 /src/gui/windows/shortcutwindow.cpp | |
parent | b717426195ce73de9a70412a1e40fb01898264ae (diff) | |
download | manaverse-d8abec8cfce526f9b4779b674b172514100d01a2.tar.gz manaverse-d8abec8cfce526f9b4779b674b172514100d01a2.tar.bz2 manaverse-d8abec8cfce526f9b4779b674b172514100d01a2.tar.xz manaverse-d8abec8cfce526f9b4779b674b172514100d01a2.zip |
Remove default parameters from scrollarea.
Diffstat (limited to 'src/gui/windows/shortcutwindow.cpp')
-rw-r--r-- | src/gui/windows/shortcutwindow.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp index 1bb35d3f1..bff1efe58 100644 --- a/src/gui/windows/shortcutwindow.cpp +++ b/src/gui/windows/shortcutwindow.cpp @@ -54,7 +54,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title, int width, int height) : Window("Window", Modal_false, nullptr, skinFile), mItems(content), - mScrollArea(new ScrollArea(this, mItems, Opaque_false)), + mScrollArea(new ScrollArea(this, mItems, Opaque_false, std::string())), mTabs(nullptr), mPages(), mButtonIndex(0) @@ -171,7 +171,10 @@ void ShortcutWindow::addTab(const std::string &name, { if ((content == nullptr) || (mTabs == nullptr)) return; - ScrollArea *const scroll = new ScrollArea(this, content, Opaque_false); + ScrollArea *const scroll = new ScrollArea(this, + content, + Opaque_false, + std::string()); scroll->setPosition(SCROLL_PADDING, SCROLL_PADDING); scroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); content->setWidget2(this); |