diff options
author | Tobias Markmann <tm@ayena.de> | 2016-04-22 14:30:13 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2016-04-22 14:30:13 (GMT) |
commit | f2266ded1e36e806b0e4b5a6ab434dd0799bdad5 (patch) | |
tree | ef153ff7f6db2d00a2e03cae57bcb74342404278 /Swift/Controllers/Chat/ChatControllerBase.h | |
parent | 161c5d178d6afd18038f9a083f4881bbdb1d590b (diff) | |
download | swift-f2266ded1e36e806b0e4b5a6ab434dd0799bdad5.zip swift-f2266ded1e36e806b0e4b5a6ab434dd0799bdad5.tar.bz2 |
Mark file-transfer notice as read when chat window is activated
Applied some foreach modernization in process.
Test-Information:
Tested by sending files between two Swift instances and
verifying the new behavior works as expected.
Tested on OS X 10.11.4 with Qt 5.4.2.
Change-Id: Ie3f9c2126d946d9041b08be98a19cbfb468871f3
Diffstat (limited to 'Swift/Controllers/Chat/ChatControllerBase.h')
-rw-r--r-- | Swift/Controllers/Chat/ChatControllerBase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatControllerBase.h b/Swift/Controllers/Chat/ChatControllerBase.h index 309d2fe..71390d9 100644 --- a/Swift/Controllers/Chat/ChatControllerBase.h +++ b/Swift/Controllers/Chat/ChatControllerBase.h @@ -97,6 +97,7 @@ namespace Swift { virtual void logMessage(const std::string& message, const JID& fromJID, const JID& toJID, const boost::posix_time::ptime& timeStamp, bool isIncoming) = 0; ChatWindow::ChatMessage buildChatWindowChatMessage(const std::string& message, bool senderIsSelf, const HighlightAction& fullMessageHighlightAction); void handleHighlightActions(const ChatWindow::ChatMessage& chatMessage); + void updateMessageCount(); private: IDGenerator idGenerator_; |