History

Port xconfig to Qt5 - Fix goParent issue.

Boris Barbulovski committed 11 years ago

Commit ee7298f1 parent 5df9da91 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kconfig/qconf.cc+1−1
@@ -435,7 +435,7 @@ void ConfigList::updateList(ConfigItem* item) · 434 unmodified lines
435435
436436 if (rootEntry != &rootmenu && (mode == singleMode ||
437437 (mode == symbolMode && rootEntry->parent != &rootmenu))) {
438− item = firstChild();
438+ item = (ConfigItem *)topLevelItem(0);
439439 if (!item)
440440 item = new ConfigItem(this, 0, true);
441441 last = item;