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());