Group :: Graphical desktop/KDE
RPM: kde5-network-filesharing
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: alt-share-under-domain-user.patch
Download
Download
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);