Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-06-18 17:12:35 +0300
committerKevin Ottens <kevin.ottens@nextcloud.com>2020-12-15 12:59:14 +0300
commitf932dfc64801f255ada8715b6911cc7dff6ce004 (patch)
tree8ce207f2adb02dc27a567a3b3b97846197b71417 /src/gui/accountmanager.h
parenta0d81df21e2e9c3712856ddd6b1f2401403bb615 (diff)
VFS: Tell the vfs plugin whether we have multiple accounts
This allows us to decide on the presentation of the account
Diffstat (limited to 'src/gui/accountmanager.h')
-rw-r--r--src/gui/accountmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/accountmanager.h b/src/gui/accountmanager.h
index d96ad2e4a..356ba0e6f 100644
--- a/src/gui/accountmanager.h
+++ b/src/gui/accountmanager.h
@@ -58,7 +58,7 @@ public:
* Return a list of all accounts.
* (this is a list of QSharedPointer for internal reasons, one should normally not keep a copy of them)
*/
- QList<AccountStatePtr> accounts() { return _accounts; }
+ QList<AccountStatePtr> accounts() const;
/**
* Return the account state pointer for an account identified by its display name