Move the Flag_TabsAlwaysVisible logic into Frame.cpp
So it works with custom framework factories too
This commit is contained in:
@@ -53,9 +53,6 @@ FrameworkWidgetFactory::~FrameworkWidgetFactory()
|
||||
#ifdef KDDOCKWIDGETS_QTWIDGETS
|
||||
Frame *DefaultWidgetFactory::createFrame(QWidgetOrQuick *parent, Frame::Options options) const
|
||||
{
|
||||
if (Config::self().flags() & Config::Flag_AlwaysShowTabs)
|
||||
options |= Frame::Option_AlwaysShowsTabs;
|
||||
|
||||
return new FrameWidget(parent, options);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user