Группа :: Графические оболочки/KDE
Пакет: kde5-network-filesharing
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: alt-share-under-domain-user.patch
Скачать
Скачать
diff --git a/kdenetwork-filesharing/samba/filepropertiesplugin/usermanager.cpp b/kdenetwork-filesharing/samba/filepropertiesplugin/usermanager.cpp
index 7ae0f22..1d46026 100644
--- a/samba/filepropertiesplugin/usermanager.cpp
+++ b/samba/filepropertiesplugin/usermanager.cpp
@@ -154,7 +154,10 @@ void UserManager::load()
}
const QString currentUserName = KUser().loginName();
- const QStringList nameList = getUsersList();
+ QStringList nameList = getUsersList();
+ if (!nameList.contains(currentUserName))
+ nameList.append(currentUserName);
+
for (const auto &name : nameList) {
++m_waitingForResolution;
auto user = new User(name, this);