projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af5acd5
)
Let Systray constructor call its base class constructor
author
Stephan Beyer
<s-beyer@gmx.net>
Wed, 17 Jun 2020 20:46:25 +0000
(22:46 +0200)
committer
Stephan Beyer
<s-beyer@gmx.net>
Wed, 24 Jun 2020 11:42:26 +0000
(13:42 +0200)
Although I see no behavioral difference, this is probably
a good idea.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
src/gui/systray.cpp
patch
|
blob
|
history
diff --git
a/src/gui/systray.cpp
b/src/gui/systray.cpp
index 6b15ddaba60529f79f7c178871b87fcfc8659a84..a2b570970ccee3319a6bd7339f0143d148d95d83 100644
(file)
--- 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);