mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-29 17:59:21 +00:00
fix(src/app/App): parent of sub windows is engine!
This commit is contained in:
parent
519e85158e
commit
155f13eccb
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ inline QQuickWindow *createSubWindow (App *app, const char *path) {
|
|||
|
||||
QObject *object = component.create();
|
||||
QQmlEngine::setObjectOwnership(object, QQmlEngine::CppOwnership);
|
||||
object->setParent(app->getMainWindow());
|
||||
object->setParent(app->getEngine());
|
||||
|
||||
return qobject_cast<QQuickWindow *>(object);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue