Revert part of 205bd38a which appears to cause use-after free crashes.

Calling clearData in the destructor eventually ends up calling
commentEdit->clear(), which crashes - I suspect because commentEdit has
been destroyed already at that point.