summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabel/mymultilineedit.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-13 00:26:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-13 00:26:14 +0000
commite192d1b3be27a26e344ae48cc6aea31185fe0a99 (patch)
tree080c21ee8a1a1a496c0b37b2a8fcb3381de04cd2 /kbabel/kbabel/mymultilineedit.cpp
parent6e7b4925121d177e954df2cca45443cfd78bda40 (diff)
downloadtdesdk-e192d1b3be27a26e344ae48cc6aea31185fe0a99.tar.gz
tdesdk-e192d1b3be27a26e344ae48cc6aea31185fe0a99.zip
Finish TQt4 porting of kdesdk (kbabel)
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236386 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/kbabel/mymultilineedit.cpp')
-rw-r--r--kbabel/kbabel/mymultilineedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbabel/kbabel/mymultilineedit.cpp b/kbabel/kbabel/mymultilineedit.cpp
index 29a8da78..af58cd0a 100644
--- a/kbabel/kbabel/mymultilineedit.cpp
+++ b/kbabel/kbabel/mymultilineedit.cpp
@@ -992,7 +992,7 @@ void MsgMultiLineEdit::paintSpacePoints()
int i = s.tqfind( " " );
while( (i >= 0) && (i < (int)s.length()-1) ) // -1 because text will end by EOLN
{
- TQPixmap* pm = ( s.at(i).tqunicode() == 0x00A0U ) ? wsnb : ws;
+ TQPixmap* pm = ( s.tqat(i).tqunicode() == 0x00A0U ) ? wsnb : ws;
TQRect r = mapToView( curpara, i );
r.moveBy( r.width()/2, (r.height() - fm.descent())/2 );
r.moveBy( -pm->rect().width()/2, -pm->rect().height()/2-1 );