mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Fix MSVC warnings: Missing return value, cast type
Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
parent
7378ae6a7f
commit
aab735a595
2 changed files with 3 additions and 1 deletions
|
@ -298,7 +298,7 @@ void ActivityListModel::slotActivitiesReceived(const QJsonDocument &json, int st
|
|||
|
||||
void ActivityListModel::slotIconDownloaded(QByteArray iconData)
|
||||
{
|
||||
for (size_t i = 0; i < _activityLists.count(); i++) {
|
||||
for (auto i = 0; i < _activityLists.count(); i++) {
|
||||
if (_activityLists[i]._id == sender()->property("activityId").toLongLong()) {
|
||||
_activityLists[i]._iconData = iconData;
|
||||
}
|
||||
|
|
|
@ -406,6 +406,8 @@ Folder *User::getFolder()
|
|||
return folder;
|
||||
}
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
ActivityListModel *User::getActivityModel()
|
||||
|
|
Loading…
Reference in a new issue