mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-28 02:55:05 +00:00
all: ensure QObject ownership is Cpp when required
This commit is contained in:
4 files changed
+10
-3
No files matched your search
@@ -104,6 +104,8 @@ void Variants::updateVariants() {
|
||||
continue;
|
||||
}
|
||||
|
||||
QQmlEngine::setObjectOwnership(instance, QQmlEngine::CppOwnership);
|
||||
|
||||
instance->setParent(this);
|
||||
this->instances.insert(variant, instance);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user