Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1230731

[PATCH 23/39] Port xconfig to Qt5 - Quick workaround to bypass app crash at startup.

From Thiago Macieira <thiago.macieira@intel.com>
Newsgroups linux.kernel
Subject [PATCH 23/39] Port xconfig to Qt5 - Quick workaround to bypass app crash at startup.
Date 2015-09-22 20:50 +0200
Message-ID <qbANB-5hQ-25@gated-at.bofh.it> (permalink)
References <qbADT-561-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Boris Barbulovski <bbarbulovski@gmail.com>

Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
---
 scripts/kconfig/qconf.cc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 3454c43..8d72e4a 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;
 	}
 
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 23/39] Port xconfig to Qt5 - Quick workaround to bypass app crash at startup. Thiago Macieira <thiago.macieira@intel.com> - 2015-09-22 20:50 +0200

csiph-web