comparison changesetscene.cpp @ 281:9162f14c5ab7

* Change "diff to parent <id>" menu entries in changeset item right-button menu to "diff to left parent" and "diff to right parent"
author Chris Cannam
date Fri, 18 Feb 2011 13:38:31 +0000
parents 8fd71f570884
children ca6edd303c9d
comparison
equal deleted inserted replaced
277:b6e4643d6c05 281:9162f14c5ab7
106 if (m_detailShown) { 106 if (m_detailShown) {
107 m_detailShown->hideDetail(); 107 m_detailShown->hideDetail();
108 } 108 }
109 } 109 }
110 110
111 ChangesetItem *
112 ChangesetScene::getItemById(QString id)
113 {
114 foreach (QGraphicsItem *it, items()) {
115 ChangesetItem *csit = dynamic_cast<ChangesetItem *>(it);
116 if (csit && csit->getId() == id) return csit;
117 }
118 }
119
120