|
|
@ -332,7 +332,7 @@ void ValgrindPart::restorePartialProjectSession( const TQDomElement* el )
|
|
|
|
_lastCtExec = ctElem.attribute( "path", "" );
|
|
|
|
_lastCtExec = ctElem.attribute( "path", "" );
|
|
|
|
_lastCtParams = ctElem.attribute( "params", "" );
|
|
|
|
_lastCtParams = ctElem.attribute( "params", "" );
|
|
|
|
|
|
|
|
|
|
|
|
TQDomElement kcElem = el->namedItem( "kcachegrind" ).toElement();
|
|
|
|
TQDomElement kcElem = el->namedItem( "tdecachegrind" ).toElement();
|
|
|
|
_lastKcExec = kcElem.attribute( "path", "" );
|
|
|
|
_lastKcExec = kcElem.attribute( "path", "" );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -354,7 +354,7 @@ void ValgrindPart::savePartialProjectSession( TQDomElement* el )
|
|
|
|
ctElem.setAttribute( "path", _lastCtExec );
|
|
|
|
ctElem.setAttribute( "path", _lastCtExec );
|
|
|
|
ctElem.setAttribute( "params", _lastCtParams );
|
|
|
|
ctElem.setAttribute( "params", _lastCtParams );
|
|
|
|
|
|
|
|
|
|
|
|
TQDomElement kcElem = domDoc.createElement( "kcachegrind" );
|
|
|
|
TQDomElement kcElem = domDoc.createElement( "tdecachegrind" );
|
|
|
|
kcElem.setAttribute( "path", _lastKcExec );
|
|
|
|
kcElem.setAttribute( "path", _lastKcExec );
|
|
|
|
|
|
|
|
|
|
|
|
el->appendChild( execElem );
|
|
|
|
el->appendChild( execElem );
|
|
|
|