diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-11-05 14:30:34 +0300 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-11-05 14:30:34 +0300 |
commit | 20fd349e174abc530a261b5d6832c138ca7542c4 (patch) | |
tree | df2e34959b3695537b2cf86fefcf71e88b643483 /src/gui/shareusergroupwidget.h | |
parent | 3e4612a1f0c66e522d84359a479c1fc0e2f2c85b (diff) |
[Sharing] Filter sharee list properly
You can't share with a user/group that you've already shared with
You can't share with yourself
Diffstat (limited to 'src/gui/shareusergroupwidget.h')
-rw-r--r-- | src/gui/shareusergroupwidget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/shareusergroupwidget.h b/src/gui/shareusergroupwidget.h index b14896afc..5da18bce4 100644 --- a/src/gui/shareusergroupwidget.h +++ b/src/gui/shareusergroupwidget.h @@ -21,7 +21,7 @@ #include <QVariantMap> #include <QSharedPointer> #include <QList> - +#include <QVector> class QCompleter; @@ -36,6 +36,7 @@ class AbstractCredentials; class QuotaInfo; class SyncResult; class Share; +class Sharee; class ShareManager; class ShareeModel; @@ -104,6 +105,7 @@ private: bool _isFile; ShareManager *_manager; + QVector<QSharedPointer<Sharee>> _sharees; }; } |