Mercurial > hg > easyhg
comparison src/confirmcommentdialog.cpp @ 420:50920723dd16 ignore
Fix dumb commenting that caused total failure in commit dialog
author | Chris Cannam |
---|---|
date | Thu, 16 Jun 2011 22:21:00 +0100 |
parents | 69b2338c06e1 |
children | 1c05e7576ea5 |
comparison
equal
deleted
inserted
replaced
419:69b2338c06e1 | 420:50920723dd16 |
---|---|
70 { | 70 { |
71 /* | 71 /* |
72 DEBUG << "ConfirmCommentDialog: as html is:" << endl; | 72 DEBUG << "ConfirmCommentDialog: as html is:" << endl; |
73 DEBUG << m_textEdit->document()->toHtml() << endl; | 73 DEBUG << m_textEdit->document()->toHtml() << endl; |
74 DEBUG << "ConfirmCommentDialog: as plain text is:" << endl; | 74 DEBUG << "ConfirmCommentDialog: as plain text is:" << endl; |
75 */ | |
75 QString t = m_textEdit->document()->toPlainText(); | 76 QString t = m_textEdit->document()->toPlainText(); |
77 /* | |
76 DEBUG << t << endl; | 78 DEBUG << t << endl; |
77 DEBUG << "Characters: " << endl; | 79 DEBUG << "Characters: " << endl; |
78 for (int i = 0; i < t.length(); ++i) DEBUG << t[i].unicode(); | 80 for (int i = 0; i < t.length(); ++i) DEBUG << t[i].unicode(); |
79 DEBUG << endl; | 81 DEBUG << endl; |
82 */ | |
80 return t; | 83 return t; |
81 */ | |
82 } | 84 } |
83 | 85 |
84 QString ConfirmCommentDialog::buildFilesText(QString intro, QStringList files) | 86 QString ConfirmCommentDialog::buildFilesText(QString intro, QStringList files) |
85 { | 87 { |
86 QString text; | 88 QString text; |