Skip to content

Commit

Permalink
kconfig: qconf: remove unused argument from ConfigView::updateList()
Browse files Browse the repository at this point in the history
Now that ConfigList::updateList() takes no argument, the 'item' argument
ConfigView::updateList() is no longer used.

Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
masahir0y committed Aug 14, 2020
1 parent cb77043 commit 1031685
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions scripts/kconfig/qconf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ void ConfigLineEdit::keyPressEvent(QKeyEvent* e)
case Qt::Key_Return:
case Qt::Key_Enter:
sym_set_string_value(item->menu->sym, text().toLatin1());
parent()->updateList(item);
parent()->updateList();
break;
default:
Parent::keyPressEvent(e);
Expand Down Expand Up @@ -471,7 +471,7 @@ void ConfigList::setValue(ConfigItem* item, tristate val)
return;
if (oldval == no && item->menu->list)
item->setExpanded(true);
parent()->updateList(item);
parent()->updateList();
break;
}
}
Expand Down Expand Up @@ -505,7 +505,7 @@ void ConfigList::changeValue(ConfigItem* item)
item->setExpanded(true);
}
if (oldexpr != newexpr)
parent()->updateList(item);
parent()->updateList();
break;
case S_INT:
case S_HEX:
Expand Down Expand Up @@ -985,7 +985,7 @@ void ConfigList::setAllOpen(bool open)
}
}

void ConfigView::updateList(ConfigItem* item)
void ConfigView::updateList()
{
ConfigView* v;

Expand Down
2 changes: 1 addition & 1 deletion scripts/kconfig/qconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class ConfigView : public QWidget {
public:
ConfigView(QWidget* parent, const char *name = 0);
~ConfigView(void);
static void updateList(ConfigItem* item);
static void updateList();
static void updateListAll(void);

bool showName(void) const { return list->showName; }
Expand Down

0 comments on commit 1031685

Please sign in to comment.