mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Systray: Workaround for issue with Qt 5.5.0 #3656
This commit is contained in:
parent
14d1919139
commit
3414b58b99
1 changed files with 8 additions and 0 deletions
|
@ -431,6 +431,14 @@ void ownCloudGui::setupContextMenu()
|
|||
_contextMenu->addAction(_actionLogin);
|
||||
}
|
||||
_contextMenu->addAction(_actionQuit);
|
||||
|
||||
// Workaround for #3656, Qt 5.5.0 + dbus based tray integration.
|
||||
#ifdef Q_OS_LINUX
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
|
||||
_tray->hide();
|
||||
_tray->show();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue