diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-03-23 08:25:32 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-03-23 08:25:32 (GMT) |
commit | fc5c7de3221610446e35b01a47756fa833b526e4 (patch) | |
tree | 1212472dfe9e2062df7522e93e883497fc0618ed /Swift/QtUI/EventViewer/QtEventWindow.cpp | |
parent | c1c973e8afe9826f82cc0bcda6e855aa76eeeabc (diff) | |
download | swift-contrib-fc5c7de3221610446e35b01a47756fa833b526e4.zip swift-contrib-fc5c7de3221610446e35b01a47756fa833b526e4.tar.bz2 |
Show EventWindow activity in roster tab.
Resolves: #295
Diffstat (limited to 'Swift/QtUI/EventViewer/QtEventWindow.cpp')
-rw-r--r-- | Swift/QtUI/EventViewer/QtEventWindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/EventViewer/QtEventWindow.cpp b/Swift/QtUI/EventViewer/QtEventWindow.cpp index def124a..162f13f 100644 --- a/Swift/QtUI/EventViewer/QtEventWindow.cpp +++ b/Swift/QtUI/EventViewer/QtEventWindow.cpp @@ -52,10 +52,12 @@ void QtEventWindow::handleItemActivated(const QModelIndex& item) { void QtEventWindow::addEvent(boost::shared_ptr<StanzaEvent> event, bool active) { model_->addEvent(event, active); + emit onNewEventCountUpdated(model_->getNewEventCount()); } void QtEventWindow::removeEvent(boost::shared_ptr<StanzaEvent> event) { model_->removeEvent(event); + emit onNewEventCountUpdated(model_->getNewEventCount()); } } |