summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-08-30 18:51:49 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-08-30 18:51:49 (GMT)
commitda72c368654cb3e9d8c223cef1bece9056a29c4e (patch)
treef0593fff410dd4bd9fef5dd2ca732ad4430c0f3c /Swift
parent18b8a82189e7587a9e7af491db1a068a21113ee4 (diff)
downloadswift-da72c368654cb3e9d8c223cef1bece9056a29c4e.zip
swift-da72c368654cb3e9d8c223cef1bece9056a29c4e.tar.bz2
Comment about scrolling being untrustworthy
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtChatView.cpp3
1 files changed, 2 insertions, 1 deletions
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<ChatSnippet> 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()));
}
}