Mercurial > hg > easyhg
comparison src/grapher.cpp @ 510:c623ce6b3104
Refactor: make closed a changeset property (not a changeset item one)
author | Chris Cannam |
---|---|
date | Tue, 18 Oct 2011 11:30:00 +0100 |
parents | 6f371814509d |
children | f1fe20ff3c07 |
comparison
equal
deleted
inserted
replaced
509:6f371814509d | 510:c623ce6b3104 |
---|---|
449 | 449 |
450 if (cs->children().size() > 1 || !cs->isOnBranch(branch)) { | 450 if (cs->children().size() > 1 || !cs->isOnBranch(branch)) { |
451 break; | 451 break; |
452 } | 452 } |
453 | 453 |
454 item->setClosed(true); | 454 cs->setClosed(true); |
455 | 455 |
456 int pcount = cs->parents().size(); | 456 int pcount = cs->parents().size(); |
457 if (pcount >= 1) { | 457 if (pcount >= 1) { |
458 QString pid = cs->parents()[0]; | 458 QString pid = cs->parents()[0]; |
459 if (!m_items.contains(pid)) break; | 459 if (!m_items.contains(pid)) break; |