From 8f8cd5d5b65d3e15d12881e87fe7d8b94be9353b Mon Sep 17 00:00:00 2001 From: me_desk Date: Sun, 20 Jan 2013 17:16:26 +0000 Subject: removed commented out code git-svn-id: svn://localhost/project_picapica/trunk@224 fb96df88-216d-11de-830c-f3023f12d8ac --- pica-client/chatwindow.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'pica-client/chatwindow.cpp') diff --git a/pica-client/chatwindow.cpp b/pica-client/chatwindow.cpp index 946e355..0366c86 100644 --- a/pica-client/chatwindow.cpp +++ b/pica-client/chatwindow.cpp @@ -63,7 +63,6 @@ ChatWindow::ChatWindow(quint32 peer_id) : Contacts ct(config_dbname, account_id); peer_name_ = ct.GetContactName(peer_id_); - qDebug()<<"peer_name ="<document()); -// c.movePosition(QTextCursor::End, QTextCursor::MoveAnchor); -// if (is_me) -// undelivered_msgs.append(c.position()); - -// chatw->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor); -// fmt = chatw->currentCharFormat(); -// chatw->insertHtml( -// QString(" (%2) %3 : "). -// arg(color). -// arg(QDateTime::currentDateTime().toString()). -// arg(QString::number(id)) -// ); -// chatw->setCurrentCharFormat(fmt); -// chatw->insertPlainText(msg + '\n'); - -// chatw->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor); - } int ChatWindow::draw_message(QString msg, QString nickname, QString datetime, QString color, bool is_delivered) -- cgit v1.2.1