threading: Assert before a possible null-ptr dereference
commit6e96ab832d3ed5673de6c528260251d95f273aa9
authorJan Kundrát <jkt@kde.org>
Wed, 3 Jan 2018 16:07:32 +0000 (3 17:07 +0100)
committerJan Kundrát <jkt@kde.org>
Wed, 3 Jan 2018 16:07:32 +0000 (3 17:07 +0100)
treec8b102cf830d470d9a8cdea3eda5b42117057db3
parentddbf195220d3e19b68995e2a01043b2ff60c3d69
threading: Assert before a possible null-ptr dereference

I was trying to debug a non-deterministic crash related to network
profile switch and aborted seacrh/thread, but I failed at that. However,
this assert looks like a good thing to do.

Change-Id: I809469f356d801c2d1e3b5d4b8a390244b854f10
src/Imap/Model/ThreadingMsgListModel.cpp