From f90e0e519f532f3202bd58ab6a4bf966230c45ed Mon Sep 17 00:00:00 2001 From: Stephan Beyer Date: Wed, 24 Jun 2020 17:24:52 +0200 Subject: [PATCH] Make Systray's _trayEngine a QPointer This is just safer. Signed-off-by: Stephan Beyer --- src/gui/systray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/systray.h b/src/gui/systray.h index cffa4f843..02a0034cf 100644 --- a/src/gui/systray.h +++ b/src/gui/systray.h @@ -90,7 +90,7 @@ private: bool _isOpen = false; bool _syncIsPaused = false; - QQmlApplicationEngine *_trayEngine = nullptr; + QPointer _trayEngine; }; } // namespace OCC -- 2.30.2