summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-10-04 12:44:08 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-10-04 12:44:08 (GMT)
commit026e8a67d871d99f4f0c0bddb6d16d12521f1e1c (patch)
tree44e63a2bbbbd8fe434aa18d534b3c9e33dabb1b5 /Swift
parent168405b68c8ce2dd174c86ce3938fbabff93efd7 (diff)
downloadswift-contrib-026e8a67d871d99f4f0c0bddb6d16d12521f1e1c.zip
swift-contrib-026e8a67d871d99f4f0c0bddb6d16d12521f1e1c.tar.bz2
Work around redraw bug in some versions of Qt
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtChatView.cpp1
1 files changed, 1 insertions, 0 deletions
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() {