Skip to content
Snippets Groups Projects
Commit 9437d770 authored by Stefan Brüns's avatar Stefan Brüns Committed by Albert Astals Cid
Browse files

kio bookmarks: Only iterate over element nodes in findToolbar()

Only iterate over element nodes, and filter on <folder> tag.

findFirstChild/nextSibling might return a node which is not an QDomElement. toElement will return NULL and accessing it will crash.

Possible fix for 320006

Acked by dfaure

BUGS: 320006
REVIEW: 113866
parent 58294acf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment