提交 e484fe3a 编写于 作者: B Boris Barbulovski 提交者: Michal Marek

Port xconfig to Qt5 - Quick workaround to bypass app crash at startup.

Signed-off-by: NBoris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: NThiago Macieira <thiago.macieira@intel.com>
Signed-off-by: NMichal Marek <mmarek@suse.com>
上级 9bd36ed3
...@@ -576,9 +576,6 @@ void ConfigList::updateMenuList(P* parent, struct menu* menu) ...@@ -576,9 +576,6 @@ void ConfigList::updateMenuList(P* parent, struct menu* menu)
enum prop_type type; enum prop_type type;
if (!menu) { if (!menu) {
while ((item = parent->firstChild()))
item->parent()->removeChild(item);
delete item;
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册