diff options
author | Stephan Beyer <s-beyer@gmx.net> | 2020-06-17 23:46:25 +0300 |
---|---|---|
committer | Stephan Beyer <s-beyer@gmx.net> | 2020-06-24 14:42:26 +0300 |
commit | 6adb7987284176407a186778670e1a4b0f41aa57 (patch) | |
tree | b49747e2f63a98bbee07ade22e9206ecdebb94ec /src/gui/systray.cpp | |
parent | af5acd514273d090f620f51657c0a18656ada7f1 (diff) |
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 <s-beyer@gmx.net>
Diffstat (limited to 'src/gui/systray.cpp')
-rw-r--r-- | src/gui/systray.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |