Skip to content

Commit

Permalink
Merge pull request #6978 from nextcloud/backport/6954/stable-3.13
Browse files Browse the repository at this point in the history
[stable-3.13] List sync folders in the file explorer with user's username.
  • Loading branch information
mgallien authored Aug 7, 2024
2 parents 973dbba + dbad78c commit abef54b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/navigationpanehelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit abef54b

Please sign in to comment.