diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-07-29 13:42:06 (GMT) |
---|---|---|
committer | Cătălin Badea <catalin.badea392@gmail.com> | 2012-08-11 15:59:13 (GMT) |
commit | 94ff6ec9e699a2db97775063eb7fa2f6d24b281a (patch) | |
tree | 80d093df35ea27b258957130c53b859faad5e177 /Swift/QtUI/QtHistoryWindow.h | |
parent | c0f0ab471345fe3f3a3517bb302c7da1549c8f25 (diff) | |
download | swift-contrib-94ff6ec9e699a2db97775063eb7fa2f6d24b281a.zip swift-contrib-94ff6ec9e699a2db97775063eb7fa2f6d24b281a.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); |