mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Proper foreach
This commit is contained in:
parent
b32f752d31
commit
6d80f3d756
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ void ShareManager::slotSharesFetched(const QVariantMap &reply)
|
|||
|
||||
QList<QSharedPointer<Share>> shares;
|
||||
|
||||
Q_FOREACH(auto share, tmpShares) {
|
||||
foreach(const auto &share, tmpShares) {
|
||||
auto data = share.toMap();
|
||||
|
||||
auto shareType = data.value("share_type").toInt();
|
||||
|
|
Loading…
Reference in a new issue