mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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>
This commit is contained in:
parent
9bd36ed363
commit
e484fe3a9b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user