From da72c368654cb3e9d8c223cef1bece9056a29c4e Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Mon, 30 Aug 2010 19:51:49 +0100 Subject: Comment about scrolling being untrustworthy diff --git a/Swift/QtUI/QtChatView.cpp b/Swift/QtUI/QtChatView.cpp index 12cae8d..ef558b7 100644 --- a/Swift/QtUI/QtChatView.cpp +++ b/Swift/QtUI/QtChatView.cpp @@ -100,7 +100,8 @@ void QtChatView::addToDOM(boost::shared_ptr snippet) { newInsertPoint_.prependOutside(newElement); } lastElement_ = newElement; - if (bottom /* Or was me? */) { + if (bottom) { + /* Warning: I'm not confident about this.*/ QTimer::singleShot(0, this, SLOT(scrollToBottom())); } } -- cgit v0.10.2-6-g49f6