Systray: Workaround for issue with Qt 5.5.0 #3656

This commit is contained in:
Christian Kamm 2015-08-21 09:41:24 +02:00
parent 14d1919139
commit 3414b58b99

View file

@ -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
}