From 3f73630c78f617409ec946d9d9b9ebc759c572f2 Mon Sep 17 00:00:00 2001 From: APTX Date: Tue, 20 Dec 2011 14:31:30 +0100 Subject: [PATCH] More MinGW fixes. --- edge.cpp | 2 ++ graph.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/edge.cpp b/edge.cpp index 4b3bc04..d1897f0 100644 --- a/edge.cpp +++ b/edge.cpp @@ -3,6 +3,8 @@ #include #include #include +#include + #include "node.h" Edge::Edge(Node *startNode, Node *endNode, QGraphicsObject *parent) : QGraphicsObject(parent), m_startNode(startNode), m_endNode(endNode), m_weight(1) diff --git a/graph.h b/graph.h index 1e2c8f1..01f6598 100644 --- a/graph.h +++ b/graph.h @@ -88,12 +88,12 @@ private: EdgeModel *m_edgeModel; Mode m_mode; + bool m_addBothEdges; int lastNode; // For adding edges Node *startNode; - bool m_addBothEdges; }; #else class Graph; -- 2.52.0