diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-11-18 08:40:30 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-11-18 08:41:23 (GMT) |
commit | 013725b6ac01ee0351cd61701588099dc1ec1258 (patch) | |
tree | 6749a4ef2116060f5fba6d5f432e4889ee7f2489 /Swift/QtUI/QtChatView.h | |
parent | f9f84b3d960bfe92103235edef607d8db8d0b6b0 (diff) | |
download | swift-contrib-013725b6ac01ee0351cd61701588099dc1ec1258.zip swift-contrib-013725b6ac01ee0351cd61701588099dc1ec1258.tar.bz2 |
Wait until WebKit is ready loading the initial template before appending messages.
Fixes bug where first messages were missing from the view.
Diffstat (limited to 'Swift/QtUI/QtChatView.h')
-rw-r--r-- | Swift/QtUI/QtChatView.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatView.h b/Swift/QtUI/QtChatView.h index 7340e00..d3e997a 100644 --- a/Swift/QtUI/QtChatView.h +++ b/Swift/QtUI/QtChatView.h @@ -24,10 +24,15 @@ namespace Swift { void scrollToBottom(); void handleLinkClicked(const QUrl&); + private slots: + void handleViewLoadFinished(bool); + private: + bool viewReady_; QWebView* webView_; QWebPage* webPage_; QString previousContinuationElementID_; + QString queuedMessages_; }; } |