diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-04-28 09:10:28 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-04-28 09:10:28 (GMT) |
commit | 612e23010018a138301792bf067747a548f0c6b3 (patch) | |
tree | f018f4248899f2f5360ce2201f76143a8988fbf1 /Swift | |
parent | 42b9cb3130a23524487bb3fa2e818da8b82880c7 (diff) | |
download | swift-612e23010018a138301792bf067747a548f0c6b3.zip swift-612e23010018a138301792bf067747a548f0c6b3.tar.bz2 |
Update the correct roster tab for notices
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtMainWindow.cpp | 2 |
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) { |