Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kconfig: qconf: Change title for the item window

Both main config window and the item window have "Option"
name. That sounds weird, and makes harder to debug issues
of a window appearing at the wrong place.

So, change the title to reflect the contents of each
window.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

authored by

Mauro Carvalho Chehab and committed by
Masahiro Yamada
5752ff07 cf497b92

+9 -1
+9 -1
scripts/kconfig/qconf.cc
··· 316 316 setVerticalScrollMode(ScrollPerPixel); 317 317 setHorizontalScrollMode(ScrollPerPixel); 318 318 319 - setHeaderLabels(QStringList() << "Option" << "Name" << "N" << "M" << "Y" << "Value"); 319 + if (mode == symbolMode) 320 + setHeaderLabels(QStringList() << "Item" << "Name" << "N" << "M" << "Y" << "Value"); 321 + else 322 + setHeaderLabels(QStringList() << "Option" << "Name" << "N" << "M" << "Y" << "Value"); 320 323 321 324 connect(this, SIGNAL(itemSelectionChanged(void)), 322 325 SLOT(updateSelection(void))); ··· 399 396 { 400 397 struct menu *menu; 401 398 enum prop_type type; 399 + 400 + if (mode == symbolMode) 401 + setHeaderLabels(QStringList() << "Item" << "Name" << "N" << "M" << "Y" << "Value"); 402 + else 403 + setHeaderLabels(QStringList() << "Option" << "Name" << "N" << "M" << "Y" << "Value"); 402 404 403 405 if (selectedItems().count() == 0) 404 406 return;