summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Voicu <vladv@rosedu.org>2012-03-06 14:37:35 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-03-09 15:04:10 (GMT)
commit7c868599331a7b4156c3572ba4f3dc75af57ce97 (patch)
tree37a2ce59535bb19dc5136f1f09da01e89290a44b /Swift/QtUI/QtSpellCheckerWindow.cpp
parent91f344444c54f11de132cf22a7ba323727104989 (diff)
downloadswift-contrib-7c868599331a7b4156c3572ba4f3dc75af57ce97.zip
swift-contrib-7c868599331a7b4156c3572ba4f3dc75af57ce97.tar.bz2
Moved the settings from main window to chat window, also added lots of small improvments
Diffstat (limited to 'Swift/QtUI/QtSpellCheckerWindow.cpp')
-rw-r--r--Swift/QtUI/QtSpellCheckerWindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Swift/QtUI/QtSpellCheckerWindow.cpp b/Swift/QtUI/QtSpellCheckerWindow.cpp
index ef1985e..f955668 100644
--- a/Swift/QtUI/QtSpellCheckerWindow.cpp
+++ b/Swift/QtUI/QtSpellCheckerWindow.cpp
@@ -64,9 +64,8 @@ void QtSpellCheckerWindow::handleApply() {
QList<QListWidgetItem* > selectedLanguage = ui_.languageView->selectedItems();
if (!selectedLanguage.empty()) {
settings_->storeSetting(SettingConstants::DICT_FILE, Q2PSTRING(selectedLanguage[0]->text()));
- } else {
- settings_->storeSetting(SettingConstants::SPELL_CHECKER, false);
}
+ emit settingsChanged();
this->done(0);
}