Remove *View and *Widget suffixes from layouts
They are controllers, not views.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user