There's no call to setSourceModel when calling setModel(0). I guess that could be relevant in some destruction cases?