From: Boris Barbulovski Date: Tue, 22 Sep 2015 18:36:23 +0000 (-0700) Subject: Port xconfig to Qt5 - Quick workaround to bypass app crash at startup. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e484fe3a9be894f97a7f982f606ac318648f8db5;p=linux-beck.git Port xconfig to Qt5 - Quick workaround to bypass app crash at startup. Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira Signed-off-by: Michal Marek --- 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; }