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;
|
enum prop_type type;
|
||||||
|
|
||||||
if (!menu) {
|
if (!menu) {
|
||||||
while ((item = parent->firstChild()))
|
|
||||||
item->parent()->removeChild(item);
|
|
||||||
delete item;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user