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:
Boris Barbulovski 2015-09-22 11:36:23 -07:00 committed by Michal Marek
parent 9bd36ed363
commit e484fe3a9b

View file

@ -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;
}