Fix build errors
This commit is contained in:
@@ -40,8 +40,8 @@ public:
|
||||
/// of operations during reparenting
|
||||
struct UpdateActions
|
||||
{
|
||||
explicit UpdateActions(Controllers::DockWidget *dw)
|
||||
: dw(dw)
|
||||
explicit UpdateActions(Controllers::DockWidget *dock)
|
||||
: dw(dock)
|
||||
{
|
||||
dw->d->m_willUpdateActions = true;
|
||||
}
|
||||
|
||||
@@ -154,6 +154,7 @@ QObject *DockWidget_qtquick::actualTitleBarView() const
|
||||
QQuickItem *DockWidget_qtquick::frameVisualItem() const
|
||||
{
|
||||
if (Controllers::Frame *frame = this->frame()) {
|
||||
Q_UNUSED(frame)
|
||||
// return frame->visualItem(); TODOv2
|
||||
}
|
||||
|
||||
@@ -165,6 +166,8 @@ void DockWidget_qtquick::onGeometryUpdated()
|
||||
{
|
||||
if (auto frame = this->frame()) {
|
||||
if (auto frameView = frame->view()) {
|
||||
Q_UNUSED(frame)
|
||||
Q_UNUSED(frameView)
|
||||
// frameView->updateConstriants(); // TODOv2
|
||||
// frameView->updateGeometry();
|
||||
}
|
||||
|
||||
@@ -227,6 +227,7 @@ bool ViewWrapper_qtquick::isMinimized() const
|
||||
QSize ViewWrapper_qtquick::maximumSize() const
|
||||
{
|
||||
if (auto view = unwrap()) {
|
||||
Q_UNUSED(view)
|
||||
return maximumSize();
|
||||
} else {
|
||||
qFatal("not implemented");
|
||||
|
||||
Reference in New Issue
Block a user