projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10707c8
)
show displaynames of users in share dialog instead of userid
author
Arthur Schiwon
<blizzz@owncloud.com>
Fri, 27 Nov 2015 13:46:39 +0000
(14:46 +0100)
committer
Arthur Schiwon
<blizzz@owncloud.com>
Fri, 27 Nov 2015 14:19:39 +0000
(15:19 +0100)
src/gui/sharee.cpp
patch
|
blob
|
history
diff --git
a/src/gui/sharee.cpp
b/src/gui/sharee.cpp
index 04fddff9dc52a81567a9f779475de54468c4c37c..08aae3ccce63797a53eadaded91a70959a96963b 100644
(file)
--- a/
src/gui/sharee.cpp
+++ b/
src/gui/sharee.cpp
@@
-137,7
+137,7
@@
QSharedPointer<Sharee> ShareeModel::parseSharee(const QVariantMap &data)
const QString shareWith = data.value("value").toMap().value("shareWith").toString();
Sharee::Type type = (Sharee::Type)data.value("value").toMap().value("shareType").toInt();
- return QSharedPointer<Sharee>(new Sharee(shareWith,
shareWith
, type));
+ return QSharedPointer<Sharee>(new Sharee(shareWith,
displayName
, type));
}
/* Set the new sharee