From 3c19c533a5244cd9a317de39f0fc4cc3ef44248e Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Tue, 30 Jul 2024 12:12:48 +0200 Subject: [PATCH] List sync folders in the file explorer with user's username. Signed-off-by: Camila Ayres --- src/gui/navigationpanehelper.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/navigationpanehelper.cpp b/src/gui/navigationpanehelper.cpp index ce2bad09c2bb5..3b2221f3c68d1 100644 --- a/src/gui/navigationpanehelper.cpp +++ b/src/gui/navigationpanehelper.cpp @@ -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());