summaryrefslogtreecommitdiffstats
path: root/vcs/perforce/perforcepart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vcs/perforce/perforcepart.cpp')
-rw-r--r--vcs/perforce/perforcepart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcs/perforce/perforcepart.cpp b/vcs/perforce/perforcepart.cpp
index 406de1f8..2bd60c76 100644
--- a/vcs/perforce/perforcepart.cpp
+++ b/vcs/perforce/perforcepart.cpp
@@ -275,7 +275,7 @@ void PerforcePart::slotDiffFinished( const TQString& diff, const TQString& err )
static TQRegExp rx( "(^|\\n)==== ([^ ]+) -.*====\\n" );
rx.setMinimal( true );
TQString strippedDiff = diff;
- strippedDiff.tqreplace( rx, "--- \\2\n+++ \\2\n" );
+ strippedDiff.replace( rx, "--- \\2\n+++ \\2\n" );
if (KDevDiffFrontend *diffFrontend = extension<KDevDiffFrontend>("KDevelop/DiffFrontend"))
diffFrontend->showDiff( strippedDiff );