Both test suits pass now
Will start uncommenting and fixing more tst_docks.cpp tests
This commit is contained in:
@@ -38,9 +38,11 @@ DropAreaWithCentralFrame::~DropAreaWithCentralFrame()
|
||||
|
||||
Frame* DropAreaWithCentralFrame::createCentralFrame(MainWindowOptions options)
|
||||
{
|
||||
Frame *frame = (options & MainWindowOption_HasCentralFrame) ? Config::self().frameworkWidgetFactory()->createFrame(nullptr, FrameOptions() | FrameOption_IsCentralFrame | FrameOption_AlwaysShowsTabs)
|
||||
: nullptr;
|
||||
Frame *frame = nullptr;
|
||||
if (options & MainWindowOption_HasCentralFrame) {
|
||||
frame = Config::self().frameworkWidgetFactory()->createFrame(nullptr, FrameOptions() | FrameOption_IsCentralFrame | FrameOption_AlwaysShowsTabs);
|
||||
frame->setObjectName(QStringLiteral("central frame"));
|
||||
}
|
||||
|
||||
frame->setObjectName(QStringLiteral("central frame"));
|
||||
return frame;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user