summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-03-02 08:09:18 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-03-10 08:58:57 (GMT)
commit2ec46186d21b0e9620e56da2430c6eadf170bf3b (patch)
treedc49c90d37710dbb3045aa17367dbaf9e26d0fda /Swiften/Elements/PubSubPublish.cpp
parent4da2f1c85f2eeac9fb98d5dcc9097eeed9b34e8b (diff)
downloadswift-2ec46186d21b0e9620e56da2430c6eadf170bf3b.zip
swift-2ec46186d21b0e9620e56da2430c6eadf170bf3b.tar.bz2
Fix crashes in spellchecking code in case of broken backend
If Swift uses Hunspell as spellchecking backend its configuration can fail, because a dictionary is missing or a wrong path was specified. Instead of crashing, spellchecking will be disabled and a warning is printed to the terminal. Test-Information: Tested on Debian 8 with Qt 5.3.2. Tested enabling/disabling of spellchecking in the UI, selecting different dictionaries and broken dictionaries. Change-Id: Ib6d73ed3d7a6a3701410b0f6dc983d41e807df82
Diffstat (limited to 'Swiften/Elements/PubSubPublish.cpp')
0 files changed, 0 insertions, 0 deletions