kconfig: qconf: remove unused argument from ConfigList::updateList()
This function allocates 'item' before using it, so the argument 'item' is always shadowed. Remove the meaningless argument. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
@@ -404,15 +404,15 @@ void ConfigList::updateSelection(void)
|
||||
emit menuSelected(menu);
|
||||
}
|
||||
|
||||
void ConfigList::updateList(ConfigItem* item)
|
||||
void ConfigList::updateList()
|
||||
{
|
||||
ConfigItem* last = 0;
|
||||
ConfigItem *item;
|
||||
|
||||
if (!rootEntry) {
|
||||
if (mode != listMode)
|
||||
goto update;
|
||||
QTreeWidgetItemIterator it(this);
|
||||
ConfigItem* item;
|
||||
|
||||
while (*it) {
|
||||
item = (ConfigItem*)(*it);
|
||||
@@ -990,7 +990,7 @@ void ConfigView::updateList(ConfigItem* item)
|
||||
ConfigView* v;
|
||||
|
||||
for (v = viewList; v; v = v->nextView)
|
||||
v->list->updateList(item);
|
||||
v->list->updateList();
|
||||
}
|
||||
|
||||
void ConfigView::updateListAll(void)
|
||||
|
||||
Reference in New Issue
Block a user