diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-10-04 12:44:08 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-10-04 12:44:08 (GMT) |
commit | 026e8a67d871d99f4f0c0bddb6d16d12521f1e1c (patch) | |
tree | 44e63a2bbbbd8fe434aa18d534b3c9e33dabb1b5 /Swift/QtUI | |
parent | 168405b68c8ce2dd174c86ce3938fbabff93efd7 (diff) | |
download | swift-026e8a67d871d99f4f0c0bddb6d16d12521f1e1c.zip swift-026e8a67d871d99f4f0c0bddb6d16d12521f1e1c.tar.bz2 |
Work around redraw bug in some versions of Qt
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtChatView.cpp | 1 |
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() { |