diff options
author | Tobias Markmann <tm@ayena.de> | 2015-07-13 10:57:57 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2015-07-13 10:57:57 (GMT) |
commit | cb8a1c43ff96c1d82c8ba1d30e210135303bbe26 (patch) | |
tree | d0506790ae72be27b2642bd4a2924c3bd43dc7aa /Swiften/Crypto/CryptoProvider.h | |
parent | c1c1b887ace33ae65a8b6ea00ca1d100c49e024a (diff) | |
download | swift-cb8a1c43ff96c1d82c8ba1d30e210135303bbe26.zip swift-cb8a1c43ff96c1d82c8ba1d30e210135303bbe26.tar.bz2 |
Fix Swift crash during start because of spellcheck code
Check that checker_ and highlighter_ are initialized before
calling them.
A crash report indicated a crash calling getMisspelledPositions()
on highlighter_ from QtTextEdit::contextMenuEvent(). This fix
should prevent this call to cause a crash.
Test-Information:
Verified that spell checking still works on OS X.
Change-Id: Idae37c1f9e2d1a0d0f64da251aa6778f2e9b47a2
Diffstat (limited to 'Swiften/Crypto/CryptoProvider.h')
0 files changed, 0 insertions, 0 deletions