diff options
author | Vlad Voicu <vladv@rosedu.org> | 2012-03-06 14:37:35 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-03-09 15:04:10 (GMT) |
commit | 7c868599331a7b4156c3572ba4f3dc75af57ce97 (patch) | |
tree | 37a2ce59535bb19dc5136f1f09da01e89290a44b /Swift/QtUI/QtSpellCheckerWindow.cpp | |
parent | 91f344444c54f11de132cf22a7ba323727104989 (diff) | |
download | swift-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.cpp | 3 |
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); } |