mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-04 07:42:35 -08:00
Replace remaining instances of Q_FOREACH with C++11 range-based for loops
This commit is contained in:
6 files changed
+72
-44
No files matched your search
@@ -34,10 +34,11 @@ void AccessControlDialog::setUrl(const QString &url)
|
||||
"Please select whether you want to allow access.")).arg(QUrl(url).host()));
|
||||
}
|
||||
|
||||
void AccessControlDialog::setItems(const QList<Entry *> &items)
|
||||
void AccessControlDialog::setItems(const QList<Entry*> &items)
|
||||
{
|
||||
Q_FOREACH (Entry * entry, items)
|
||||
for (Entry* entry: items) {
|
||||
ui->itemsList->addItem(entry->title() + " - " + entry->username());
|
||||
}
|
||||
}
|
||||
|
||||
bool AccessControlDialog::remember() const
|
||||
|
||||
Reference in new issue
Block a user