remove needless code

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2122 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun 2013-04-21 13:55:51 +00:00
parent 73d78ea623
commit 8a7d022486

View File

@ -50,6 +50,7 @@ void ConductorAutoNumerotation::setConductor(Conductor *c) {
conductor_ = c;
diagram_ = c -> diagram();
conductor_list = c -> relatedPotentialConductors();
if (strategy_) delete strategy_;
}
/**
@ -139,8 +140,8 @@ void ConductorAutoNumerotation::removeNum_ofDiagram() {
QList <QSet <Conductor *> > potential_list = diagram_ -> potentials();
//Browse all potentials and set the default text
for (int i=0; i < potential_list.size(); i++) {
ConductorAutoNumerotation can (potential_list.at(i).toList().first());
can.applyText(diagram_ -> defaultConductorProperties.text);
setConductor (potential_list.at(i).toList().first());
applyText (diagram_ -> defaultConductorProperties.text);
}
}