From 374d939d8af431477ce2601815f0ba121b66871c Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 15 Feb 2011 19:11:41 +0000 Subject: Allow kdelibs to function correctly with TQt for Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/test_regression.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'khtml/test_regression.cpp') diff --git a/khtml/test_regression.cpp b/khtml/test_regression.cpp index 982539621..f80d82921 100644 --- a/khtml/test_regression.cpp +++ b/khtml/test_regression.cpp @@ -1051,7 +1051,7 @@ void RegressionTest::doJavascriptReport( const TQString &test ) text.replace( TQRegExp( "\nFAIL" ), "\nFAIL" ); text.replace( TQRegExp( "\nPASSED" ), "\nPASSED" ); text.replace( TQRegExp( "\nPASS" ), "\nPASS" ); - if ( text.at( 0 ) == '\n' ) + if ( text.tqat( 0 ) == '\n' ) text = text.mid( 1, text.length() ); text.replace( '\n', "
\n" ); cl += text; -- cgit v1.2.3