Make Systray's _trayEngine a QPointer

This is just safer.

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
This commit is contained in:
Stephan Beyer 2020-06-24 17:24:52 +02:00
parent 08cb289b8c
commit f90e0e519f

View file

@ -90,7 +90,7 @@ private:
bool _isOpen = false;
bool _syncIsPaused = false;
QQmlApplicationEngine *_trayEngine = nullptr;
QPointer<QQmlApplicationEngine> _trayEngine;
};
} // namespace OCC