[Pkg-owncloud-commits] [owncloud-client] 434/484: show displaynames of users in share dialog instead of userid

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit d62c51890e8a7aa7e5abba398f5f1c56bf9fcca0
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Fri Nov 27 14:46:39 2015 +0100

    show displaynames of users in share dialog instead of userid
---
 src/gui/sharee.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/sharee.cpp b/src/gui/sharee.cpp
index 04fddff..08aae3c 100644
--- 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list