summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-07-13 10:57:57 (GMT)
committerTobias Markmann <tm@ayena.de>2015-07-13 10:57:57 (GMT)
commitcb8a1c43ff96c1d82c8ba1d30e210135303bbe26 (patch)
treed0506790ae72be27b2642bd4a2924c3bd43dc7aa /Swift/Controllers/AdHocController.cpp
parentc1c1b887ace33ae65a8b6ea00ca1d100c49e024a (diff)
downloadswift-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 'Swift/Controllers/AdHocController.cpp')
0 files changed, 0 insertions, 0 deletions