Permalink
Browse files

Minor bug fixes

  • Loading branch information...
aelliott committed Apr 26, 2013
1 parent 2d585da commit f275213b34e3662f0a37372265afa97625a65562
Showing with 7 additions and 0 deletions.
  1. +1 −0 src/developer/CMakeLists.txt
  2. +5 −0 src/developer/graphview/graphscene.cpp
  3. +1 −0 src/developer/runconfig.hpp
@@ -68,6 +68,7 @@ SET(GPDeveloper_HPP_SRCS
src/developer/rule.hpp
src/developer/ruleedit.hpp
src/developer/run.hpp
src/developer/runconfig.hpp
src/developer/runconfiguration.hpp
src/developer/styledbutton.hpp
src/developer/welcome.hpp
@@ -974,6 +974,11 @@ void GraphScene::mousePressEvent(QGraphicsSceneMouseEvent *event)
for(nodeIter iter = _nodes.begin(); iter != _nodes.end(); ++iter)
{
NodeItem *node = *iter;
// Don't draw edges from phantoms
if(node->node()->isPhantomNode())
return;
QPainterPath path = node->shape();
path.translate(node->scenePos());
if(path.contains(event->scenePos()))
@@ -11,6 +11,7 @@ namespace Developer {
class RunConfig : public QObject
{
Q_OBJECT
public:
explicit RunConfig(QObject *parent = 0);

0 comments on commit f275213

Please sign in to comment.