diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-10-03 14:17:42 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-10-03 14:17:42 (GMT) |
commit | acebcadf74116468f018e2d040f817ac421ee14d (patch) | |
tree | 0feb02a93bb7c426ce96ee38b3b600ae51fb8598 | |
parent | 0260c57027540bfed82670dba059088d45dcb38f (diff) | |
download | swift-acebcadf74116468f018e2d040f817ac421ee14d.zip swift-acebcadf74116468f018e2d040f817ac421ee14d.tar.bz2 |
Asserts trying to find problem with crashing message replacement
-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 d7077a5..eea18f7 100644 --- a/Swift/QtUI/QtChatView.cpp +++ b/Swift/QtUI/QtChatView.cpp @@ -93,6 +93,7 @@ void QtChatView::addToDOM(boost::shared_ptr<ChatSnippet> snippet) { } void QtChatView::replaceLastMessage(const QString& newMessage) { + assert(viewReady_); /* FIXME: must be queued? */ bool bottom = isScrolledToBottom(); assert(!lastElement_.isNull()); |