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/QtLoginWindow.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/QtLoginWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtLoginWindow.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp index f7fc3a7..a3b7837 100644 --- a/Swift/QtUI/QtLoginWindow.cpp +++ b/Swift/QtUI/QtLoginWindow.cpp @@ -193,11 +193,6 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream, SettingsProvider* set toggleNotificationsAction_->setChecked(settings_->getSetting(SettingConstants::SHOW_NOTIFICATIONS)); connect(toggleNotificationsAction_, SIGNAL(toggled(bool)), SLOT(handleToggleNotifications(bool))); - QAction* spellCheckerAction_ = new QAction(tr("Spell &Checker"), this); - connect(spellCheckerAction_, SIGNAL(triggered()), SLOT(handleSpellChecker())); - generalMenu_->addAction(spellCheckerAction_); - - #ifndef SWIFTEN_PLATFORM_MACOSX swiftMenu_->addSeparator(); #endif @@ -409,18 +404,6 @@ void QtLoginWindow::handleAbout() { } } -void QtLoginWindow::handleSpellChecker() { - if (!spellCheckerDialog_) { - spellCheckerDialog_ = new QtSpellCheckerWindow(settings_); - spellCheckerDialog_->show(); - } - else { - spellCheckerDialog_->show(); - spellCheckerDialog_->raise(); - spellCheckerDialog_->activateWindow(); - } -} - void QtLoginWindow::handleShowXMLConsole() { uiEventStream_->send(boost::shared_ptr<RequestXMLConsoleUIEvent>(new RequestXMLConsoleUIEvent())); } |