diff 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
line wrap: on
line diff
--- a/grapher.cpp	Tue Nov 30 14:59:52 2010 +0000
+++ b/grapher.cpp	Tue Nov 30 17:56:11 2010 +0000
@@ -347,9 +347,7 @@
         item->setX(0);
         item->setY(0);
         m_items[id] = item;
-        m_scene->addItem(item);
-        QObject::connect(item, SIGNAL(detailShown()),
-                         m_scene, SLOT(changesetDetailShown()));
+        m_scene->addChangesetItem(item);
     }
 
     // Add the connecting lines