mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Clean up data section for internal link in model
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
bdfa923f8a
commit
b4ea35e95c
@ -130,11 +130,8 @@ QVariant ShareModel::data(const QModelIndex &index, const int role) const
|
||||
return startOfExpireDayUTC.toMSecsSinceEpoch();
|
||||
}
|
||||
}
|
||||
} else if (share->getShareType() == Share::TypeInternalLink) {
|
||||
switch(role) {
|
||||
case LinkRole:
|
||||
return _privateLinkUrl;
|
||||
}
|
||||
} else if (share->getShareType() == Share::TypeInternalLink && role == LinkRole) {
|
||||
return _privateLinkUrl;
|
||||
}
|
||||
|
||||
switch(role) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user