diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-20 19:40:53 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-20 19:40:53 +0200 |
commit | 071578923d4b9bb164edae171e6513dfe7085a98 (patch) | |
tree | 57c4e9d8bb2fbbdecc53e33c83ec7c56cf968f9c /src/timeline/EventDelegateChooser.cpp | |
parent | Small qml fixes (diff) | |
download | nheko-071578923d4b9bb164edae171e6513dfe7085a98.tar.xz |
Possibly fix a crash in the EventDelegateChooser
Diffstat (limited to 'src/timeline/EventDelegateChooser.cpp')
-rw-r--r-- | src/timeline/EventDelegateChooser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/EventDelegateChooser.cpp b/src/timeline/EventDelegateChooser.cpp index 2b143b0f..99a4cf3a 100644 --- a/src/timeline/EventDelegateChooser.cpp +++ b/src/timeline/EventDelegateChooser.cpp @@ -269,7 +269,7 @@ EventDelegateChooser::DelegateIncubator::statusChanged(QQmlIncubator::Status sta } child->setParentItem(&chooser); - QQmlEngine::setObjectOwnership(child, QQmlEngine::ObjectOwnership::JavaScriptOwnership); + QQmlEngine::setObjectOwnership(child, QQmlEngine::ObjectOwnership::CppOwnership); // connect(child, &QQuickItem::parentChanged, child, [child](QQuickItem *) { // // QTBUG-115687 |