summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-09-08 16:25:19 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-09-08 16:25:19 (GMT)
commit96371e8d5123d66624b25bddedddf0c83a0aa222 (patch)
treef69322f0d7390d0fcef60ff856001b3dadb7060d
parentfe8a8aa031da734f3112184420b372021d9e10c7 (diff)
downloadswift-96371e8d5123d66624b25bddedddf0c83a0aa222.zip
swift-96371e8d5123d66624b25bddedddf0c83a0aa222.tar.bz2
Make previous patch compile after changes to QtChatView.
-rw-r--r--Swift/QtUI/QtChatWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp
index 6c96b34..314e36c 100644
--- a/Swift/QtUI/QtChatWindow.cpp
+++ b/Swift/QtUI/QtChatWindow.cpp
@@ -674,7 +674,7 @@ std::string QtChatWindow::addWhiteboardRequest(bool senderIsSelf) {
}
QString qAvatarPath = "qrc:/icons/avatar.png";
std::string id = "wbmessage" + boost::lexical_cast<std::string>(idCounter_++);
- messageLog_->addMessage(boost::shared_ptr<ChatSnippet>(new MessageSnippet(htmlString, Qt::escape(contact_), B2QDATE(boost::posix_time::second_clock::local_time()), qAvatarPath, false, false, theme_, P2QSTRING(id))));
+ messageLog_->addMessageBottom(boost::shared_ptr<ChatSnippet>(new MessageSnippet(htmlString, Qt::escape(contact_), B2QDATE(boost::posix_time::second_clock::local_time()), qAvatarPath, false, false, theme_, P2QSTRING(id))));
previousMessageWasSelf_ = false;
previousSenderName_ = contact_;