relax a warning about not finding dock widget to restore
If the user provided a factory and it returns nullptr on purpose then don't warn, it's intentional by the user
This commit is contained in:
@@ -798,9 +798,6 @@ DockWidgetBase *DockWidgetBase::deserialize(const LayoutSaver::DockWidget::Ptr &
|
||||
<< "; to" << saved->affinities;
|
||||
dw->d->affinities = saved->affinities;
|
||||
}
|
||||
|
||||
} else {
|
||||
qWarning() << Q_FUNC_INFO << "Couldn't find dock widget" << saved->uniqueName;
|
||||
}
|
||||
|
||||
return dw;
|
||||
|
||||
Reference in New Issue
Block a user