]> cloud.milkyroute.net Git - dolphin.git/commit
Fix possible crash when refreshing the view while renaming inline
authorFrank Reininghaus <frank78ac@googlemail.com>
Tue, 11 Sep 2012 17:43:53 +0000 (19:43 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Tue, 11 Sep 2012 17:43:53 +0000 (19:43 +0200)
commit42dad0a9483de340118ce67622cb930619dd4699
tree551eec56bf53534ab3238286ba5b1f5ec8578720
parent7de641316a40ac1b570f66e5ca4109fe0b6f6702
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
src/views/dolphinview.cpp