summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Voicu <vladv@rosedu.org>2012-03-06 14:37:35 (GMT)
committervlad <vlad@tyrion.(none)>2012-10-13 13:55:45 (GMT)
commit2267554fcf1a73dc761d3a15b152192d3f420d7f (patch)
tree2d61175723dfb460c2a169a1e0e3430a9de4fdde /Swift/QtUI/QtLoginWindow.cpp
parent5427ffbb3ea13cd4ee078dd640db8cd43bab303d (diff)
downloadswift-contrib-2267554fcf1a73dc761d3a15b152192d3f420d7f.zip
swift-contrib-2267554fcf1a73dc761d3a15b152192d3f420d7f.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.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index c2854c5..c8b40a4 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -201,11 +201,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
@@ -437,18 +432,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::make_shared<RequestXMLConsoleUIEvent>());
}