diff options
author | Robert Griebl <robert.griebl@qt.io> | 2023-12-10 21:32:49 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2023-12-12 13:42:01 +0100 |
commit | 8fa8fe300a10db08beaa034d9429f0b955a7735f (patch) | |
tree | d4d81088e0dcbc29b43f5537a45b9b251efaf66b /src/window-lib | |
parent | c7a5a9fe3f862f0ea0e0e75747e63dd91f0bb787 (diff) |
cmake: add AM_SANITIZE to enable ASAN
Also added env var forwarding for [ALT]SAN_OPTIONS in NativeRuntime
and fixed a few simple memory leaks.
Pick-to: 6.7 6.6 6.5
Change-Id: I4039890bb9316d3a48a447f112b129b5272f81c0
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'src/window-lib')
-rw-r--r-- | src/window-lib/waylandcompositor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window-lib/waylandcompositor.cpp b/src/window-lib/waylandcompositor.cpp index f889c8b6..78d887f2 100644 --- a/src/window-lib/waylandcompositor.cpp +++ b/src/window-lib/waylandcompositor.cpp @@ -153,6 +153,7 @@ WaylandCompositor::WaylandCompositor(QQuickWindow *window, const QString &waylan connect(m_xdgShell, &QWaylandXdgShell::pong, this, &WaylandCompositor::onXdgPongReceived); auto wmext = new QWaylandQtWindowManager(this); + wmext->setParent(this); connect(wmext, &QWaylandQtWindowManager::openUrl, this, [](QWaylandClient *client, const QUrl &url) { if (!ApplicationManager::instance()->fromProcessId(client->processId()).isEmpty()) ApplicationManager::instance()->openUrl(url.toString()); |