Mercurial > hg > easyhg
diff changeset.cpp @ 165:97faf861618b
* Experiment with removing revision numbers from display (hashes only)
author | Chris Cannam |
---|---|
date | Fri, 03 Dec 2010 22:42:24 +0000 |
parents | 70fe12873106 |
children | 8fd71f570884 |
line wrap: on
line diff
--- a/changeset.cpp Fri Dec 03 20:37:40 2010 +0000 +++ b/changeset.cpp Fri Dec 03 22:42:24 2010 +0000 @@ -69,17 +69,19 @@ << "tags" << "comment"; - propTexts << QObject::tr("Identifier") - << QObject::tr("Author") - << QObject::tr("Date") - << QObject::tr("Branch") - << QObject::tr("Tag") - << QObject::tr("Comment"); + propTexts << QObject::tr("Identifier:") + << QObject::tr("Author:") + << QObject::tr("Date:") + << QObject::tr("Branch:") + << QObject::tr("Tag:") + << QObject::tr("Comment:"); for (int i = 0; i < propNames.size(); ++i) { QString prop = propNames[i]; QString value; - if (prop == "comment") { + if (prop == "id") { + value = hashOf(id()); + } else if (prop == "comment") { value = c; } else if (prop == "tags") { value = tags().join(" ");