From 9a2ecbc586ddaf6fc3a14992e353ad8c6fa658f1 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Thu, 17 Sep 2026 07:13:23 +0200 Subject: [PATCH] Fix null pointer in systray This was found and fixed by Claude Sonnet 4.6 --- src/gui/systray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/systray.cpp b/src/gui/systray.cpp index a67b7bf328..6bfa4f202e 100644 --- a/src/gui/systray.cpp +++ b/src/gui/systray.cpp @@ -121,7 +121,7 @@ QQmlApplicationEngine *Systray::trayEngine() const void Systray::setTrayEngine(QQmlApplicationEngine *trayEngine) { - _trayEngine = std::make_unique(trayEngine); + _trayEngine.reset(trayEngine); _trayEngine->setNetworkAccessManagerFactory(&_accessManagerFactory); -- 2.55.0