summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-04-28 09:10:28 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-04-28 09:10:28 (GMT)
commit612e23010018a138301792bf067747a548f0c6b3 (patch)
treef018f4248899f2f5360ce2201f76143a8988fbf1 /Swift/QtUI
parent42b9cb3130a23524487bb3fa2e818da8b82880c7 (diff)
downloadswift-contrib-612e23010018a138301792bf067747a548f0c6b3.zip
swift-contrib-612e23010018a138301792bf067747a548f0c6b3.tar.bz2
Update the correct roster tab for notices
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtMainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp
index a4606f9..5262c38 100644
--- a/Swift/QtUI/QtMainWindow.cpp
+++ b/Swift/QtUI/QtMainWindow.cpp
@@ -153,7 +153,7 @@ void QtMainWindow::handleEditProfileRequest() {
void QtMainWindow::handleEventCountUpdated(int count) {
QColor eventTabColor = (count == 0) ? QColor() : QColor(255, 0, 0); // invalid resets to default
- int eventIndex = 1;
+ int eventIndex = 2;
tabs_->tabBar()->setTabTextColor(eventIndex, eventTabColor);
QString text = tr("&Notices");
if (count > 0) {