From: Michael Schuster Date: Fri, 31 Jul 2020 22:17:25 +0000 (+0200) Subject: Always show Settings in the context menu (amends #2164) X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~38 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bc5888e8e436f0e5e89048b430ba2f42f19ad0ad;p=nextcloud-desktop.git Always show Settings in the context menu (amends #2164) The context menu should allow access to the Settings even when no accounts are configured. Users may specify proxy / startup / update and other settings at any time. This slipped through in #2164. Signed-off-by: Michael Schuster --- diff --git a/src/gui/systray.cpp b/src/gui/systray.cpp index 07f8e3353..f8c827c5b 100644 --- a/src/gui/systray.cpp +++ b/src/gui/systray.cpp @@ -86,8 +86,8 @@ Systray::Systray() contextMenu->addAction(tr("Add account"), this, &Systray::openAccountWizard); } else { contextMenu->addAction(tr("Open main dialog"), this, &Systray::openMainDialog); - contextMenu->addAction(tr("Settings"), this, &Systray::openSettings); } + contextMenu->addAction(tr("Settings"), this, &Systray::openSettings); contextMenu->addAction(tr("Exit %1").arg(Theme::instance()->appNameGUI()), this, &Systray::shutdown); setContextMenu(contextMenu); #endif