summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtChatView.cpp')
-rw-r--r--Swift/QtUI/QtChatView.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatView.cpp b/Swift/QtUI/QtChatView.cpp
index 02c54a7..3f7617a 100644
--- a/Swift/QtUI/QtChatView.cpp
+++ b/Swift/QtUI/QtChatView.cpp
@@ -16,6 +16,7 @@
#include <QStackedWidget>
#include <QTimer>
#include <QMessageBox>
+#include <QApplication>
#include "QtWebView.h"
#include "QtChatTheme.h"
@@ -102,6 +103,7 @@ void QtChatView::addToDOM(boost::shared_ptr<ChatSnippet> snippet) {
newInsertPoint_.prependOutside(newElement);
}
lastElement_ = newElement;
+ qApp->processEvents();
}
void QtChatView::replaceLastMessage(const QString& newMessage) {