comparison src/changeset.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 c623ce6b3104
comparison
equal deleted inserted replaced
418:93cb9005bb6f 419:69b2338c06e1
15 COPYING included with this distribution for more information. 15 COPYING included with this distribution for more information.
16 */ 16 */
17 17
18 #include "changeset.h" 18 #include "changeset.h"
19 #include "common.h" 19 #include "common.h"
20 #include "debug.h"
20 21
21 #include <QVariant> 22 #include <QVariant>
22 23
23 Changeset::Changeset(const LogEntry &e) 24 Changeset::Changeset(const LogEntry &e)
24 { 25 {
50 { 51 {
51 QString description; 52 QString description;
52 QString rowTemplate = "<tr><td><b>%1</b>&nbsp;</td><td>%2</td></tr>"; 53 QString rowTemplate = "<tr><td><b>%1</b>&nbsp;</td><td>%2</td></tr>";
53 54
54 description = "<qt><table border=0>"; 55 description = "<qt><table border=0>";
56
57 // DEBUG << "comment is " << comment() << endl;
55 58
56 QString c = comment().trimmed(); 59 QString c = comment().trimmed();
57 c = c.replace(QRegExp("^\""), ""); 60 c = c.replace(QRegExp("^\""), "");
58 c = c.replace(QRegExp("\"$"), ""); 61 c = c.replace(QRegExp("\"$"), "");
59 c = c.replace("\\\"", "\""); 62 c = c.replace("\\\"", "\"");