From f1dfe88c7a0c30de14439277c4ba7d69bd495fbf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 22 May 2018 23:29:25 +0300 Subject: Set skin object in shortcut containers for future usage. --- src/gui/windows/shortcutwindow.cpp | 4 ++-- 1 file changed, 2 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 1b53ad455..6d431c37c 100644 --- a/src/gui/windows/shortcutwindow.cpp +++ b/src/gui/windows/shortcutwindow.cpp @@ -72,7 +72,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title, mDragOffsetY = 0; if (content != nullptr) - content->setWidget2(this); + content->setSkin(this, mSkin); if (setupWindow != nullptr) setupWindow->registerWindowForReset(this); @@ -181,7 +181,7 @@ void ShortcutWindow::addTab(const std::string &name, std::string()); scroll->setPosition(SCROLL_PADDING, SCROLL_PADDING); scroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); - content->setWidget2(this); + content->setSkin(this, mSkin); Tab *const tab = new ShortcutTab(this, name, content); mTabs->addTab(tab, scroll); mPages.push_back(content); -- cgit v1.2.3-60-g2f50