Mercurial > hg > easyhg
diff src/confirmcommentdialog.cpp @ 419:69b2338c06e1 ignore
Add "Ignore this directory"; some fixes to ignore logic (though not yet enough)
author | Chris Cannam |
---|---|
date | Thu, 16 Jun 2011 20:35:05 +0100 |
parents | b9c153e00e84 |
children | 50920723dd16 |
line wrap: on
line diff
--- a/src/confirmcommentdialog.cpp Thu Jun 16 16:46:35 2011 +0100 +++ b/src/confirmcommentdialog.cpp Thu Jun 16 20:35:05 2011 +0100 @@ -17,6 +17,7 @@ #include "confirmcommentdialog.h" #include "common.h" +#include "debug.h" #include <QMessageBox> #include <QInputDialog> @@ -67,7 +68,17 @@ QString ConfirmCommentDialog::getComment() const { - return m_textEdit->document()->toPlainText(); +/* + DEBUG << "ConfirmCommentDialog: as html is:" << endl; + DEBUG << m_textEdit->document()->toHtml() << endl; + DEBUG << "ConfirmCommentDialog: as plain text is:" << endl; + QString t = m_textEdit->document()->toPlainText(); + DEBUG << t << endl; + DEBUG << "Characters: " << endl; + for (int i = 0; i < t.length(); ++i) DEBUG << t[i].unicode(); + DEBUG << endl; + return t; +*/ } QString ConfirmCommentDialog::buildFilesText(QString intro, QStringList files)