diff --git a/cockatrice/src/dialogs/dlg_settings.cpp b/cockatrice/src/dialogs/dlg_settings.cpp index 3c3552151..534e01d3a 100644 --- a/cockatrice/src/dialogs/dlg_settings.cpp +++ b/cockatrice/src/dialogs/dlg_settings.cpp @@ -588,9 +588,7 @@ DeckEditorSettingsPage::DeckEditorSettingsPage() connect(urlList->model(), SIGNAL(rowsMoved(const QModelIndex, int, int, const QModelIndex, int)), this, SLOT(urlListChanged(const QModelIndex, int, int, const QModelIndex, int))); - for (QString url : SettingsCache::instance().downloads().getAllURLs()) { - urlList->addItem(url); - } + urlList->addItems(SettingsCache::instance().downloads().getAllURLs()); auto aAdd = new QAction(this); aAdd->setIcon(QPixmap("theme:icons/increment"));