[kgraphviewer-devel] [KGraphViewer] fdce614: properly init members
Milian Wolff
mail at milianw.de
Fri Nov 12 15:40:20 CET 2010
commit fdce614d074d297069cec79b1075bf93f0243961
branch master
Author: Milian Wolff <mail at milianw.de>
Date: Fri Nov 12 15:40:17 2010 +0100
properly init members
diff --git a/src/part/dotgraph.cpp b/src/part/dotgraph.cpp
index eecafb7..fdb53ad 100644
--- a/src/part/dotgraph.cpp
+++ b/src/part/dotgraph.cpp
@@ -58,6 +58,8 @@ DotGraph::DotGraph() :
m_dotFileName(""),m_width(0.0), m_height(0.0),m_scale(1.0),
m_directed(true),m_strict(false),
m_layoutCommand(""),
+ m_horizCellFactor(0), m_vertCellFactor(0),
+ m_wdhcf(0), m_hdvcf(0),
m_readWrite(false),
m_dot(0),
m_phase(Initial),
@@ -71,6 +73,8 @@ DotGraph::DotGraph(const QString& command, const QString& fileName) :
m_dotFileName(fileName),m_width(0.0), m_height(0.0),m_scale(1.0),
m_directed(true),m_strict(false),
m_layoutCommand(command),
+ m_horizCellFactor(0), m_vertCellFactor(0),
+ m_wdhcf(0), m_hdvcf(0),
m_readWrite(false),
m_dot(0),
m_phase(Initial),
More information about the kgraphviewer-devel
mailing list