From 1686e0beac98867bf1fe358a8fe9a9d8647d4a3a Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Fri, 8 Feb 2013 20:58:20 +0100 Subject: [PATCH 1/4] Remove detrimental initialization * choose.cc (createListview): Remove superflous and detrimental default trust setting. This has already been set correctly in OnInit. --- choose.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/choose.cc b/choose.cc index 6d5f3b7..4e0bcd4 100644 --- a/choose.cc +++ b/choose.cc @@ -148,11 +148,6 @@ ChooserPage::createListview () log (LOG_BABBLE) << "Failed to set View button caption %ld" << GetLastError () << endLog; - for (packagedb::packagecollection::iterator i = db.packages.begin(); i != db.packages.end(); i++) - { - i->second->set_requirements(chooser->deftrust); - } - /* FIXME: do we need to init the desired fields ? */ static int ta[] = { IDC_CHOOSE_KEEP, IDC_CHOOSE_CURR, IDC_CHOOSE_EXP, 0 }; rbset (GetHWND (), ta, IDC_CHOOSE_CURR); -- 1.8.3.1