From 026e8a67d871d99f4f0c0bddb6d16d12521f1e1c Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Mon, 4 Oct 2010 13:44:08 +0100
Subject: Work around redraw bug in some versions of Qt


diff --git a/Swift/QtUI/QtChatView.cpp b/Swift/QtUI/QtChatView.cpp
index 70bb0e8..2a66fc0 100644
--- a/Swift/QtUI/QtChatView.cpp
+++ b/Swift/QtUI/QtChatView.cpp
@@ -128,6 +128,7 @@ void QtChatView::rememberScrolledToBottom() {
 void QtChatView::scrollToBottom() {
 	isAtBottom_ = true;
 	webPage_->mainFrame()->setScrollBarValue(Qt::Vertical, webPage_->mainFrame()->scrollBarMaximum(Qt::Vertical));
+	webView_->update(); /* Work around redraw bug in some versions of Qt. */
 }
 
 void QtChatView::handleFrameSizeChanged() {
-- 
cgit v0.10.2-6-g49f6