Initialize trayWatcher from QSystemTrayIconPrivate

Coverity-Id: 59488
Change-Id: Ide8d9b62304b72105d2c1d4266ba2a52576ef75a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
bb10
Volker Hilsheimer 2020-09-23 17:34:20 +02:00
parent 2f319f3be9
commit 8a50a11437
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE
QSystemTrayIconPrivate::QSystemTrayIconPrivate()
: qpa_sys(QGuiApplicationPrivate::platformTheme()->createPlatformSystemTrayIcon())
, visible(false)
, visible(false), trayWatcher(nullptr)
{
}