From 42cda67cb8a90c6245df6d2594ae408f5238be34 Mon Sep 17 00:00:00 2001 From: Kevin Smith <git@kismith.co.uk> Date: Sun, 18 Apr 2010 09:50:02 +0000 Subject: Update menus with more sensible words. Resolves: #318 diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp index cee798f..cc75194 100644 --- a/Swift/QtUI/QtLoginWindow.cpp +++ b/Swift/QtUI/QtLoginWindow.cpp @@ -135,7 +135,7 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream) : QMainWindow() { connect(xmlConsoleAction, SIGNAL(activated()), SLOT(handleShowXMLConsole())); toolsMenu_->addAction(xmlConsoleAction); - toggleSoundsAction_ = new QAction(tr("Toggle Sounds"), this); + toggleSoundsAction_ = new QAction(tr("Play Sounds"), this); toggleSoundsAction_->setCheckable(true); toggleSoundsAction_->setChecked(true); connect(toggleSoundsAction_, SIGNAL(toggled(bool)), SLOT(handleToggleSounds(bool))); diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp index c947ae7..48cd6c4 100644 --- a/Swift/QtUI/QtMainWindow.cpp +++ b/Swift/QtUI/QtMainWindow.cpp @@ -77,17 +77,17 @@ QtMainWindow::QtMainWindow(UIEventStream* uiEventStream, QtTreeWidgetFactory *tr connect(showOfflineAction, SIGNAL(toggled(bool)), SLOT(handleShowOfflineToggled(bool))); viewMenu->addAction(showOfflineAction); - QMenu* chatMenu = new QMenu(tr("Chat"), this); - menus_.push_back(chatMenu); + QMenu* actionsMenu = new QMenu(tr("Actions"), this); + menus_.push_back(actionsMenu); QAction* joinMUCAction = new QAction("Join chatroom", this); connect(joinMUCAction, SIGNAL(triggered()), SLOT(handleJoinMUCAction())); - chatMenu->addAction(joinMUCAction); + actionsMenu->addAction(joinMUCAction); addAction_ = new QAction("Add Contact", this); connect(addAction_, SIGNAL(triggered(bool)), this, SLOT(handleAddActionTriggered(bool))); - chatMenu->addAction(addAction_); + actionsMenu->addAction(addAction_); QAction* signOutAction = new QAction("Sign Out", this); connect(signOutAction, SIGNAL(triggered()), SLOT(handleSignOutAction())); - chatMenu->addAction(signOutAction); + actionsMenu->addAction(signOutAction); } QtMainWindow::~QtMainWindow() { -- cgit v0.10.2-6-g49f6