mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-11-05 03:46:32 +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
@@ -187,6 +187,8 @@ void SocketServer::onNewConnection() {
|
||||
return;
|
||||
}
|
||||
|
||||
QQmlEngine::setObjectOwnership(instance, QQmlEngine::CppOwnership);
|
||||
|
||||
this->mSockets.append(instance);
|
||||
instance->setParent(this);
|
||||
|
||||
|
||||
Reference in new issue
Block a user