quick: Make DockWidgetBase::setWidget() virtual
The QtQuick counter-part needs to do some specific things, like settings anchors.parent: fill on it, and parenting it
This commit is contained in:
@@ -139,7 +139,7 @@ public:
|
||||
* call setWidget(A) followed by setWidget(B) then A will have to be deleted by you, while B is
|
||||
* owned by the dock widget.
|
||||
*/
|
||||
void setWidget(QWidgetOrQuick *widget);
|
||||
virtual void setWidget(QWidgetOrQuick *widget);
|
||||
|
||||
/**
|
||||
* @brief returns the widget which this dock widget hosts
|
||||
|
||||
Reference in New Issue
Block a user