mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Tray: Fix crash on startup for non-OSX oses
This commit is contained in:
parent
f36d4562a1
commit
91b6b88883
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ ownCloudGui::ownCloudGui(Application *parent) :
|
|||
_tray->setParent(this);
|
||||
|
||||
// for the beginning, set the offline icon until the account was verified
|
||||
_tray->setIcon( Theme::instance()->folderOfflineIcon(true, contextMenuVisible()));
|
||||
_tray->setIcon( Theme::instance()->folderOfflineIcon(/*systray?*/ true, /*currently visible?*/ false));
|
||||
|
||||
connect(_tray.data(), SIGNAL(activated(QSystemTrayIcon::ActivationReason)),
|
||||
SLOT(slotTrayClicked(QSystemTrayIcon::ActivationReason)));
|
||||
|
|
Loading…
Reference in a new issue