summaryrefslogtreecommitdiffstats
path: root/parts/valgrind/valgrind_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/valgrind/valgrind_part.cpp')
-rw-r--r--parts/valgrind/valgrind_part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parts/valgrind/valgrind_part.cpp b/parts/valgrind/valgrind_part.cpp
index bd0df1ef..5aaf66aa 100644
--- a/parts/valgrind/valgrind_part.cpp
+++ b/parts/valgrind/valgrind_part.cpp
@@ -332,7 +332,7 @@ void ValgrindPart::restorePartialProjectSession( const TQDomElement* el )
_lastCtExec = ctElem.attribute( "path", "" );
_lastCtParams = ctElem.attribute( "params", "" );
- TQDomElement kcElem = el->namedItem( "kcachegrind" ).toElement();
+ TQDomElement kcElem = el->namedItem( "tdecachegrind" ).toElement();
_lastKcExec = kcElem.attribute( "path", "" );
}
@@ -354,7 +354,7 @@ void ValgrindPart::savePartialProjectSession( TQDomElement* el )
ctElem.setAttribute( "path", _lastCtExec );
ctElem.setAttribute( "params", _lastCtParams );
- TQDomElement kcElem = domDoc.createElement( "kcachegrind" );
+ TQDomElement kcElem = domDoc.createElement( "tdecachegrind" );
kcElem.setAttribute( "path", _lastKcExec );
el->appendChild( execElem );