diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-07-29 13:42:06 (GMT) |
---|---|---|
committer | Catalin Badea <catalin.badea392@gmail.com> | 2012-07-29 13:42:06 (GMT) |
commit | fd9f71dca2777b4b13deb3e375b118dd55ae2c49 (patch) | |
tree | ed53ed28e986295d7cb4b995771f0c5dbac64a3d /Swift/QtUI/QtHistoryWindow.h | |
parent | ea3285a7e50cf107ae24cd1fbbb01e753b94bf36 (diff) | |
download | swift-contrib-fd9f71dca2777b4b13deb3e375b118dd55ae2c49.zip swift-contrib-fd9f71dca2777b4b13deb3e375b118dd55ae2c49.tar.bz2 |
Fix adding messages at the top.
Diffstat (limited to 'Swift/QtUI/QtHistoryWindow.h')
-rw-r--r-- | Swift/QtUI/QtHistoryWindow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/QtHistoryWindow.h b/Swift/QtUI/QtHistoryWindow.h index c813b82..13d3f14 100644 --- a/Swift/QtUI/QtHistoryWindow.h +++ b/Swift/QtUI/QtHistoryWindow.h @@ -23,8 +23,9 @@ namespace Swift { ~QtHistoryWindow(); void activate(); void setRosterModel(Roster*); - void addMessage(const std::string &message, const std::string &senderName, bool senderIsSelf, const std::string& avatarPath, const boost::posix_time::ptime& time, bool addAtTheTop); + void addMessage(const std::string& message, const std::string& senderName, bool senderIsSelf, const std::string& avatarPath, const boost::posix_time::ptime& time, bool addAtTheTop); void resetConversationView(); + void resetConversationViewTopInsertPoint(); void setDate(const boost::gregorian::date& date); void closeEvent(QCloseEvent* event); |