Mercurial > hg > easyhg
comparison grapher.cpp @ 141:e6c6b88d19b9
* Start hooking up right-button menus on changeset & uncommitted items
author | Chris Cannam |
---|---|
date | Tue, 30 Nov 2010 17:56:11 +0000 |
parents | e8a481789607 |
children | f61f032b06f9 |
comparison
equal
deleted
inserted
replaced
140:bad40d7e7a2b | 141:e6c6b88d19b9 |
---|---|
345 | 345 |
346 ChangesetItem *item = new ChangesetItem(cs); | 346 ChangesetItem *item = new ChangesetItem(cs); |
347 item->setX(0); | 347 item->setX(0); |
348 item->setY(0); | 348 item->setY(0); |
349 m_items[id] = item; | 349 m_items[id] = item; |
350 m_scene->addItem(item); | 350 m_scene->addChangesetItem(item); |
351 QObject::connect(item, SIGNAL(detailShown()), | |
352 m_scene, SLOT(changesetDetailShown())); | |
353 } | 351 } |
354 | 352 |
355 // Add the connecting lines | 353 // Add the connecting lines |
356 | 354 |
357 foreach (Changeset *cs, csets) { | 355 foreach (Changeset *cs, csets) { |