From 99a2774ca6f1cab334de5d43fe36fc44ae889a4c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 12 Jun 2011 01:36:19 +0000 Subject: 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 --- kompare/libdiff2/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kompare/libdiff2/parser.cpp') 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; } -- cgit v1.2.3