[kgraphviewer-devel] [KGraphViewer/libkgraphviz] 70536d6: No need to call default constructors explicitly
Kevin Funk
krf at electrostorm.net
Tue Dec 21 16:40:27 CET 2010
commit 70536d6b7b4cf5e6619da8dcb4e784ee2d1e6afb
branch libkgraphviz
Author: Kevin Funk <krf at electrostorm.net>
Date: Mon Dec 20 18:10:22 2010 +0100
No need to call default constructors explicitly
diff --git a/src/kgraphviz/dotgraph.cpp b/src/kgraphviz/dotgraph.cpp
index b9c9c90..2e6b522 100644
--- a/src/kgraphviz/dotgraph.cpp
+++ b/src/kgraphviz/dotgraph.cpp
@@ -80,14 +80,12 @@ DotGraphPrivate::~DotGraphPrivate()
}
DotGraph::DotGraph() :
- GraphElement(),
d_ptr(new DotGraphPrivate(this))
{
setId("unnamed");
}
DotGraph::DotGraph(const QString& layoutCommand, const QString& fileName) :
- GraphElement(),
d_ptr(new DotGraphPrivate(this))
{
setId("unnamed");
diff --git a/src/kgraphviz/support/dotgraphparsinghelper.cpp b/src/kgraphviz/support/dotgraphparsinghelper.cpp
index 8de315d..36854ce 100644
--- a/src/kgraphviz/support/dotgraphparsinghelper.cpp
+++ b/src/kgraphviz/support/dotgraphparsinghelper.cpp
@@ -39,19 +39,7 @@ namespace KGraphViz
{
DotGraphParsingHelper::DotGraphParsingHelper():
- attrid(),
- valid(),
- attributed(),
- subgraphid(),
uniq(0),
- attributes(),
- graphAttributes(),
- nodesAttributes(),
- edgesAttributes(),
- graphAttributesStack(),
- nodesAttributesStack(),
- edgesAttributesStack(),
- edgebounds(),
z(0),
maxZ(0),
graph(0),
More information about the kgraphviewer-devel
mailing list