Both test suits pass now

Will start uncommenting and fixing more tst_docks.cpp tests
This commit is contained in:
Sergio Martins
2020-04-13 16:28:11 +01:00
parent 5df59016c7
commit 1827a5b415

View File

@@ -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;
}