Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
.. NOTE::
This menu is not available on macOS.
+A double-click on the icon will open the currently-selected user's locally synced folder.
+
Settings
~~~~~~~~
|
.. image:: images/share-dialog-view-profile.png
- :alt: shared dialog sharing options
\ No newline at end of file
+ :alt: shared dialog sharing options
void ownCloudGui::slotTrayClicked(QSystemTrayIcon::ActivationReason reason)
{
- if (reason == QSystemTrayIcon::Trigger) {
+ if (reason == QSystemTrayIcon::DoubleClick && UserModel::instance()->currentUser()->hasLocalFolder()) {
+ UserModel::instance()->openCurrentAccountLocalFolder();
+ } else if (reason == QSystemTrayIcon::Trigger) {
if (OwncloudSetupWizard::bringWizardToFrontIfVisible()) {
// brought wizard to front
} else if (_shareDialogs.size() > 0) {