diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-05-07 14:49:52 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-05-07 14:49:52 (GMT) |
commit | 769f83f3186eebfab06174c20700cdd6db802e1b (patch) | |
tree | dd3d05deee02a2e76c7a9d0b99a5ec680f5f81b4 | |
parent | 5eec1003100cfff8897f23dada9fb636187640a4 (diff) | |
download | swift-contrib-769f83f3186eebfab06174c20700cdd6db802e1b.zip swift-contrib-769f83f3186eebfab06174c20700cdd6db802e1b.tar.bz2 |
Refer to Events as Notices instead of Events.
Resolves: #341
-rw-r--r-- | Swift/QtUI/QtMainWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |