From 612e23010018a138301792bf067747a548f0c6b3 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Thu, 28 Apr 2011 10:10:28 +0100
Subject: Update the correct roster tab for notices


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) {
-- 
cgit v0.10.2-6-g49f6