summaryrefslogtreecommitdiffstats
path: root/kioslave/thumbnail/textcreator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:58:25 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:58:25 -0600
commit2c01fd64ddde84a6d78b632f7f3b7c3560dc288c (patch)
tree65f4f4370cf4269757d7fa4d0f4d15996a1bf68f /kioslave/thumbnail/textcreator.cpp
parent73c08b592db45af554b9f21029bc549d70f683ab (diff)
downloadtdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.tar.gz
tdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 73c08b592db45af554b9f21029bc549d70f683ab.
Diffstat (limited to 'kioslave/thumbnail/textcreator.cpp')
-rw-r--r--kioslave/thumbnail/textcreator.cpp4
1 files changed, 2 insertions, 2 deletions
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