Commit 1031685c authored by Masahiro Yamada's avatar Masahiro Yamada

kconfig: qconf: remove unused argument from ConfigView::updateList()

Now that ConfigList::updateList() takes no argument, the 'item' argument
ConfigView::updateList() is no longer used.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent cb77043f
...@@ -280,7 +280,7 @@ void ConfigLineEdit::keyPressEvent(QKeyEvent* e) ...@@ -280,7 +280,7 @@ void ConfigLineEdit::keyPressEvent(QKeyEvent* e)
case Qt::Key_Return: case Qt::Key_Return:
case Qt::Key_Enter: case Qt::Key_Enter:
sym_set_string_value(item->menu->sym, text().toLatin1()); sym_set_string_value(item->menu->sym, text().toLatin1());
parent()->updateList(item); parent()->updateList();
break; break;
default: default:
Parent::keyPressEvent(e); Parent::keyPressEvent(e);
...@@ -471,7 +471,7 @@ void ConfigList::setValue(ConfigItem* item, tristate val) ...@@ -471,7 +471,7 @@ void ConfigList::setValue(ConfigItem* item, tristate val)
return; return;
if (oldval == no && item->menu->list) if (oldval == no && item->menu->list)
item->setExpanded(true); item->setExpanded(true);
parent()->updateList(item); parent()->updateList();
break; break;
} }
} }
...@@ -505,7 +505,7 @@ void ConfigList::changeValue(ConfigItem* item) ...@@ -505,7 +505,7 @@ void ConfigList::changeValue(ConfigItem* item)
item->setExpanded(true); item->setExpanded(true);
} }
if (oldexpr != newexpr) if (oldexpr != newexpr)
parent()->updateList(item); parent()->updateList();
break; break;
case S_INT: case S_INT:
case S_HEX: case S_HEX:
...@@ -985,7 +985,7 @@ void ConfigList::setAllOpen(bool open) ...@@ -985,7 +985,7 @@ void ConfigList::setAllOpen(bool open)
} }
} }
void ConfigView::updateList(ConfigItem* item) void ConfigView::updateList()
{ {
ConfigView* v; ConfigView* v;
......
...@@ -210,7 +210,7 @@ class ConfigView : public QWidget { ...@@ -210,7 +210,7 @@ class ConfigView : public QWidget {
public: public:
ConfigView(QWidget* parent, const char *name = 0); ConfigView(QWidget* parent, const char *name = 0);
~ConfigView(void); ~ConfigView(void);
static void updateList(ConfigItem* item); static void updateList();
static void updateListAll(void); static void updateListAll(void);
bool showName(void) const { return list->showName; } bool showName(void) const { return list->showName; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment