From d8abec8cfce526f9b4779b674b172514100d01a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Dec 2017 01:21:54 +0300 Subject: Remove default parameters from scrollarea. --- src/gui/windows/shortcutwindow.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/shortcutwindow.cpp') 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); -- cgit v1.2.3-70-g09d2