From: Stephan Beyer Date: Wed, 24 Jun 2020 15:24:52 +0000 (+0200) Subject: Make Systray's _trayEngine a QPointer X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~137^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f90e0e519f532f3202bd58ab6a4bf966230c45ed;p=nextcloud-desktop.git Make Systray's _trayEngine a QPointer This is just safer. Signed-off-by: Stephan Beyer --- 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