diff options
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtChatView.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Swift/QtUI/QtChatView.cpp b/Swift/QtUI/QtChatView.cpp index 32f2394..12cae8d 100644 --- a/Swift/QtUI/QtChatView.cpp +++ b/Swift/QtUI/QtChatView.cpp @@ -90,7 +90,6 @@ QWebElement QtChatView::snippetToDOM(boost::shared_ptr<ChatSnippet> snippet) { void QtChatView::addToDOM(boost::shared_ptr<ChatSnippet> snippet) { bool bottom = isScrolledToBottom(); - qDebug() << "Appending to the dom - scrolled to bottom? " << bottom; QWebElement newElement = snippetToDOM(snippet); QWebElement continuationElement = lastElement_.findFirst("#insert"); if (snippet->getAppendToPrevious()) { @@ -104,7 +103,6 @@ void QtChatView::addToDOM(boost::shared_ptr<ChatSnippet> snippet) { if (bottom /* Or was me? */) { QTimer::singleShot(0, this, SLOT(scrollToBottom())); } - qDebug() << "Appended, now at bottom? " << isScrolledToBottom(); } void QtChatView::correctLastMessage(const QString& newMessage) { |