Fix possible crash when refreshing the view while renaming inline
author Frank Reininghaus
()
committer Frank Reininghaus
()
commit ea3ed1d9e5409af7d374c66d53dbb2ff68a5fe70
tree 20dd6e16ae84689274711948a07d75735363d6f5
parent a502d3970bd0a0eb240c6b0a18e4601538bf9edb
Fix possible crash when refreshing the view while renaming inline

It is not reproducible on every machine for me, but it seems that it can
happen that DolphinView's slot slotRoleEditingFinished() is invoked
after the items have already been removed from the model. In that case,
we have to return from the slot immediately to prevent a crash.

BUG: 306147
FIXED-IN: 4.9.2
dolphin/src/views/dolphinview.cpp