Let context menu open wizard if there are no accounts
authorStephan Beyer <s-beyer@gmx.net>
Mon, 6 Jul 2020 21:17:33 +0000 (23:17 +0200)
committerKevin Ottens <ervin@ipsquad.net>
Thu, 23 Jul 2020 19:08:53 +0000 (21:08 +0200)
commitcd008ffe59c08014ccb3b8fff8f364c508e8bc7c
treeaed63dfac5198eac1cca130c92d6cad498d19926
parent3fd32e55f99bf3e9190e77778c410624ec4555cc
Let context menu open wizard if there are no accounts

The context menu offers to open the main dialog and the settings
even if no accounts are configured.  In this case, the main dialog
is useless and the settings are probably confusing.  Hence, this
commit replaces these actions in the context menu by an action
to open the wizard (which also opens on left click, so this is
the most natural thing to do).

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
src/gui/owncloudgui.cpp
src/gui/systray.cpp
src/gui/systray.h