mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-20 09:22:15 -07:00
use c++ foreach
This commit is contained in:
parent
57501a9266
commit
6309703819
1 changed files with 2 additions and 1 deletions
|
|
@ -588,8 +588,9 @@ DeckEditorSettingsPage::DeckEditorSettingsPage()
|
|||
connect(urlList->model(), SIGNAL(rowsMoved(const QModelIndex, int, int, const QModelIndex, int)), this,
|
||||
SLOT(urlListChanged(const QModelIndex, int, int, const QModelIndex, int)));
|
||||
|
||||
foreach (QString url, SettingsCache::instance().downloads().getAllURLs())
|
||||
for (QString url : SettingsCache::instance().downloads().getAllURLs()) {
|
||||
urlList->addItem(url);
|
||||
}
|
||||
|
||||
auto aAdd = new QAction(this);
|
||||
aAdd->setIcon(QPixmap("theme:icons/increment"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue