Remove *View and *Widget suffixes from layouts

They are controllers, not views.
This commit is contained in:
Sergio Martins
2022-05-02 00:01:44 +01:00
parent e17f6c0066
commit d0c1b94585
7 changed files with 11 additions and 11 deletions

View File

@@ -156,7 +156,7 @@ bool Frame_qtwidgets::event(QEvent *e)
if (e->type() == QEvent::ParentChange) {
auto p = parentView();
// qDebug() << "Parent change" << p->asQObject() << p->asLayoutWidget() << int(p->type());
m_controller->setLayoutWidget(p ? p->asLayoutWidget() : nullptr);
m_controller->setLayoutWidget(p ? p->asLayout() : nullptr);
}
return QWidget::event(e);