Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Have created loader items inherit the parent context
Browse files Browse the repository at this point in the history
  • Loading branch information
Znurre committed Jun 1, 2018
1 parent bb1f608 commit 8ee2dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/declarativeloaderwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void DeclarativeLoaderWidget::onStatusChanged()
return;
}

QObject *object = d->component->create();
QObject *object = d->component->create(qmlContext(this));
if (!object) {
qWarning() << "Unable to create component from" << d->source;
return;
Expand Down

0 comments on commit 8ee2dfd

Please sign in to comment.