Fix build errors

This commit is contained in:
Waqar Ahmed
2022-05-30 17:11:05 +05:00
parent 08dc4540f8
commit 2815a5e84a
3 changed files with 6 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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();
}

View File

@@ -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");