Fix QtQuick build

This commit is contained in:
Sergio Martins
2021-09-03 00:18:42 +01:00
parent 3b9773f872
commit e22ca48674
2 changed files with 7 additions and 0 deletions

View File

@@ -299,6 +299,12 @@ QRect QWidgetAdapter::geometry() const
return KDDockWidgets::Private::geometry(this);
}
QRect QWidgetAdapter::normalGeometry() const
{
// TODO: There's no such concept in QWindow, do we need to workaround for QtQuick ?
return QWidgetAdapter::geometry();
}
QRect QWidgetAdapter::rect() const
{
return QRectF(0, 0, width(), height()).toRect();

View File

@@ -122,6 +122,7 @@ public:
virtual void setGeometry(QRect);
QRect frameGeometry() const;
QRect geometry() const;
QRect normalGeometry() const;
QRect rect() const;
QPoint pos() const;
void show();