summaryrefslogtreecommitdiffstats
path: root/kompare/libdiff2/parser.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /kompare/libdiff2/parser.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774c.tar.gz
tdesdk-99a2774c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kompare/libdiff2/parser.cpp')
-rw-r--r--kompare/libdiff2/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kompare/libdiff2/parser.cpp b/kompare/libdiff2/parser.cpp
index 1e3efc8a..67386508 100644
--- a/kompare/libdiff2/parser.cpp
+++ b/kompare/libdiff2/parser.cpp
@@ -50,7 +50,7 @@ int Parser::cleanUpCrap( TQStringList& diffLines )
// correcting the advance of the iterator because of the remove
--it;
TQString temp( *it );
- temp.truncate( temp.find( '\n' ) );
+ temp.truncate( temp.tqfind( '\n' ) );
*it = temp;
++nol;
}