From 769f83f3186eebfab06174c20700cdd6db802e1b Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Fri, 7 May 2010 14:49:52 +0000 Subject: Refer to Events as Notices instead of Events. Resolves: #341 diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp index c5dfd93..fcfb693 100644 --- a/Swift/QtUI/QtMainWindow.cpp +++ b/Swift/QtUI/QtMainWindow.cpp @@ -65,7 +65,7 @@ QtMainWindow::QtMainWindow(UIEventStream* uiEventStream) : QWidget() { chatListWindow_ = new QtChatListWindow(uiEventStream_); - tabs_->addTab(eventWindow_, "Events"); + tabs_->addTab(eventWindow_, "Notices"); tabs_->addTab(chatListWindow_, "Chats"); this->setLayout(mainLayout); @@ -111,7 +111,7 @@ void QtMainWindow::handleEventCountUpdated(int count) { QColor eventTabColor = (count == 0) ? QColor(-1, -1, -1) : QColor(255, 0, 0); // invalid resets to default int eventIndex = 1; tabs_->tabBar()->setTabTextColor(eventIndex, eventTabColor); - QString text = "Events"; + QString text = "Notices"; if (count > 0) { text += QString(" (%1)").arg(count); } -- cgit v0.10.2-6-g49f6