The QtQuick stuff compiles now

This commit is contained in:
Sergio Martins
2019-08-08 12:31:53 +01:00
parent 2a0c228733
commit 020571b6f5
21 changed files with 154 additions and 64 deletions

View File

@@ -103,7 +103,7 @@ public:
};
DockWidgetBase::DockWidgetBase(const QString &name, Options options)
: QWidget(nullptr, Qt::Tool)
: QWidgetOrQuick(nullptr, Qt::Tool)
, d(new Private(name, options, this))
{
d->init();
@@ -335,7 +335,7 @@ void DockWidgetBase::maybeMorphIntoFloatingWindow()
Frame *DockWidgetBase::frame() const
{
QWidget *p = parentWidget();
QWidgetOrQuick *p = parentWidget();
while (p) {
if (auto frame = qobject_cast<Frame *>(p))
return frame;