From 2c01fd64ddde84a6d78b632f7f3b7c3560dc288c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:58:25 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 73c08b592db45af554b9f21029bc549d70f683ab. --- kioslave/thumbnail/textcreator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kioslave/thumbnail/textcreator.cpp') diff --git a/kioslave/thumbnail/textcreator.cpp b/kioslave/thumbnail/textcreator.cpp index 322c944a2..749dd4816 100644 --- a/kioslave/thumbnail/textcreator.cpp +++ b/kioslave/thumbnail/textcreator.cpp @@ -158,13 +158,13 @@ bool TextCreator::create(const TQString &path, int width, int height, TQImage &i } // check for newlines in the text (unix,dos) - TQChar ch = text.at( i ); + TQChar ch = text.tqat( i ); if ( ch == '\n' ) { newLine = true; continue; } - else if ( ch == '\r' && text.at(i+1) == '\n' ) + else if ( ch == '\r' && text.tqat(i+1) == '\n' ) { newLine = true; i++; // skip the next character (\n) as well -- cgit v1.2.1