diff options
author | Boris Barbulovski <bbarbulovski@gmail.com> | 2015-09-22 14:36:37 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2015-10-14 09:00:25 -0400 |
commit | ee7298fbc01e252157a314da7a8a0eaef46ad2a2 (patch) | |
tree | 0c96f1677b9fcdf4b77fd86d9f56d0c23e74462e /scripts | |
parent | 5df9da9df2071c7c18245b4462e7d65d28df4281 (diff) |
Port xconfig to Qt5 - Fix goParent issue.
Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/qconf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 97631e9a61d8..6c3f883c6692 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc | |||
@@ -435,7 +435,7 @@ void ConfigList::updateList(ConfigItem* item) | |||
435 | 435 | ||
436 | if (rootEntry != &rootmenu && (mode == singleMode || | 436 | if (rootEntry != &rootmenu && (mode == singleMode || |
437 | (mode == symbolMode && rootEntry->parent != &rootmenu))) { | 437 | (mode == symbolMode && rootEntry->parent != &rootmenu))) { |
438 | item = firstChild(); | 438 | item = (ConfigItem *)topLevelItem(0); |
439 | if (!item) | 439 | if (!item) |
440 | item = new ConfigItem(this, 0, true); | 440 | item = new ConfigItem(this, 0, true); |
441 | last = item; | 441 | last = item; |