Fix clazy warning
This commit is contained in:
parent
1ec20886a8
commit
51c17402b8
1 changed files with 2 additions and 1 deletions
|
@ -195,7 +195,8 @@ void Notification::parseNetworkPacket(const NetworkPacket& np)
|
||||||
|
|
||||||
m_actions.clear();
|
m_actions.clear();
|
||||||
|
|
||||||
for (QJsonValue value : np.get<QJsonArray>(QStringLiteral("actions"))) {
|
const auto actions = np.get<QJsonArray>(QStringLiteral("actions"));
|
||||||
|
for (const QJsonValue& value : actions) {
|
||||||
m_actions.append(value.toString());
|
m_actions.append(value.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue