Skip to content
Snippets Groups Projects
Commit 5edab13c authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

crashfix: sanity check for 0

parent 3b62aeaf
No related branches found
No related tags found
No related merge requests found
......@@ -358,7 +358,7 @@ static void removeObjectFromList(const QDeclarativeProperty &property, QObject *
for(int i = 0; i < count; i ++) {
QObject *listItem = listReference.at(i);
if (listItem != objectToBeRemoved)
if (listItem && listItem != objectToBeRemoved)
objectList.append(listItem);
}
......
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