From: Camila Ayres Date: Tue, 30 Jul 2024 10:12:48 +0000 (+0200) Subject: List sync folders in the file explorer with user's username. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~6^2~78^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=11a50b1811f4bf890b8ce17846fe38d7aa58413d;p=nextcloud-desktop.git List sync folders in the file explorer with user's username. Signed-off-by: Camila Ayres --- diff --git a/src/gui/navigationpanehelper.cpp b/src/gui/navigationpanehelper.cpp index ce2bad09c..3b2221f3c 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());