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 --- kdeui/kwordwrap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kdeui/kwordwrap.cpp') diff --git a/kdeui/kwordwrap.cpp b/kdeui/kwordwrap.cpp index 0bdcf52dd..b7eeaff7c 100644 --- a/kdeui/kwordwrap.cpp +++ b/kdeui/kwordwrap.cpp @@ -201,7 +201,7 @@ void KWordWrap::drawFadeoutText(TQPainter *p, int x, int y, int maxW, int n = TQMIN( tl, 3); for (int i = 0; i < n; i++) { p->setPen( mixColors( 0.70 - i * 0.25, textColor, bgColor ) ); - TQString s( t.at( tl - n + i ) ); + TQString s( t.tqat( tl - n + i ) ); p->drawText( x, y, s ); x += fm.width( s ); } -- cgit v1.2.1