Fix possible crash in KDirModel if the root item is deleted or moved
If the root item of the dir model is deleted, but it is not the first item in the list that KDirModelPrivate::_k_slotDeleteItems(...) gets from the dir lister, a crash may result because KDirModelPrivate::removeFromNodeHash(...) calls isDir() for a null KFileItem. This commit extends the protection agains this kind of crash that has been introduced in c8939409 for the first item to the rest of the list. CCBUG: 196695
parent
c6b1c33d
Please register or sign in to comment