From: Stephan Beyer Date: Wed, 17 Jun 2020 20:46:25 +0000 (+0200) Subject: Let Systray constructor call its base class constructor X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~137^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6adb7987284176407a186778670e1a4b0f41aa57;p=nextcloud-desktop.git Let Systray constructor call its base class constructor Although I see no behavioral difference, this is probably a good idea. Signed-off-by: Stephan Beyer --- diff --git a/src/gui/systray.cpp b/src/gui/systray.cpp index 6b15ddaba..a2b570970 100644 --- a/src/gui/systray.cpp +++ b/src/gui/systray.cpp @@ -50,7 +50,8 @@ Systray *Systray::instance() } Systray::Systray() - : _trayEngine(new QQmlApplicationEngine(this)) + : QSystemTrayIcon(nullptr) + , _trayEngine(new QQmlApplicationEngine(this)) { _trayEngine->addImportPath("qrc:/qml/theme"); _trayEngine->addImageProvider("avatars", new ImageProvider);