mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
PIM: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
This commit is contained in:
parent
ff94cf69da
commit
be4d55795f
@ -242,7 +242,9 @@ QString PIM_Handler::matchingJsTable() const
|
||||
QHashIterator<PI_Type, QStringList> i(m_infoMatches);
|
||||
while (i.hasNext()) {
|
||||
i.next();
|
||||
foreach (const QString &value, i.value()) {
|
||||
|
||||
const auto ivalues = i.value();
|
||||
for (const QString &value : ivalues) {
|
||||
QString key = m_allInfo.value(i.key());
|
||||
key.replace(QL1C('"'), QL1S("\\\""));
|
||||
values.append(QSL("\"%1\":\"%2\",").arg(value, key));
|
||||
|
Loading…
Reference in New Issue
Block a user