summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-08-30 18:49:35 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-08-30 18:49:35 (GMT)
commit18b8a82189e7587a9e7af491db1a068a21113ee4 (patch)
tree09ccc048ea9334e3018308c1f62527cf43408831 /Swift/QtUI/QtChatView.cpp
parent97643bb9103a7b4a61cd267648f36cc7ffb36e6d (diff)
downloadswift-18b8a82189e7587a9e7af491db1a068a21113ee4.zip
swift-18b8a82189e7587a9e7af491db1a068a21113ee4.tar.bz2
Remove debug output
Diffstat (limited to 'Swift/QtUI/QtChatView.cpp')
-rw-r--r--Swift/QtUI/QtChatView.cpp2
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) {