Skip to content

Commit 1031685

Browse files
committed
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: Masahiro Yamada <[email protected]>
1 parent cb77043 commit 1031685

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

scripts/kconfig/qconf.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ void ConfigLineEdit::keyPressEvent(QKeyEvent* e)
280280
case Qt::Key_Return:
281281
case Qt::Key_Enter:
282282
sym_set_string_value(item->menu->sym, text().toLatin1());
283-
parent()->updateList(item);
283+
parent()->updateList();
284284
break;
285285
default:
286286
Parent::keyPressEvent(e);
@@ -471,7 +471,7 @@ void ConfigList::setValue(ConfigItem* item, tristate val)
471471
return;
472472
if (oldval == no && item->menu->list)
473473
item->setExpanded(true);
474-
parent()->updateList(item);
474+
parent()->updateList();
475475
break;
476476
}
477477
}
@@ -505,7 +505,7 @@ void ConfigList::changeValue(ConfigItem* item)
505505
item->setExpanded(true);
506506
}
507507
if (oldexpr != newexpr)
508-
parent()->updateList(item);
508+
parent()->updateList();
509509
break;
510510
case S_INT:
511511
case S_HEX:
@@ -985,7 +985,7 @@ void ConfigList::setAllOpen(bool open)
985985
}
986986
}
987987

988-
void ConfigView::updateList(ConfigItem* item)
988+
void ConfigView::updateList()
989989
{
990990
ConfigView* v;
991991

scripts/kconfig/qconf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class ConfigView : public QWidget {
210210
public:
211211
ConfigView(QWidget* parent, const char *name = 0);
212212
~ConfigView(void);
213-
static void updateList(ConfigItem* item);
213+
static void updateList();
214214
static void updateListAll(void);
215215

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

0 commit comments

Comments
 (0)