summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBoris Barbulovski <bbarbulovski@gmail.com>2015-09-22 11:36:23 -0700
committerMichal Marek <mmarek@suse.com>2015-10-14 14:59:03 +0200
commite484fe3a9be894f97a7f982f606ac318648f8db5 (patch)
treead1961c552918170dfeeec436b1cc02162a13295 /scripts
parent9bd36ed363c9dfec4e47e4ed489aadf3da987314 (diff)
Port xconfig to Qt5 - Quick workaround to bypass app crash at startup.
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.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 3454c4361c8e..8d72e4ae6291 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -576,9 +576,6 @@ void ConfigList::updateMenuList(P* parent, struct menu* menu)
enum prop_type type;
if (!menu) {
- while ((item = parent->firstChild()))
- item->parent()->removeChild(item);
- delete item;
return;
}