mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 04:55:48 +03:00
Merge pull request #6954 from nextcloud/enh/account-folder-list
List sync folders in the file explorer with user's username.
This commit is contained in:
commit
ed0ce1a69f
1 changed files with 3 additions and 2 deletions
|
@ -97,8 +97,9 @@ void NavigationPaneHelper::updateCloudStorageRegistry()
|
|||
|
||||
QString title = folder->shortGuiRemotePathOrAppName();
|
||||
// Write the account name in the sidebar only when using more than one account.
|
||||
if (AccountManager::instance()->accounts().size() > 1)
|
||||
title = title % " - " % folder->accountState()->account()->displayName();
|
||||
if (AccountManager::instance()->accounts().size() > 1) {
|
||||
title = title % " - " % folder->accountState()->account()->prettyName();
|
||||
}
|
||||
QString iconPath = QDir::toNativeSeparators(qApp->applicationFilePath());
|
||||
QString targetFolderPath = QDir::toNativeSeparators(folder->cleanPath());
|
||||
|
||||
|
|
Loading…
Reference in a new issue