summaryrefslogtreecommitdiffstats
path: root/kpacman/bitfont.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-08-21 14:42:44 +0200
committergregory guy <gregory-tde@laposte.net>2020-08-24 17:20:16 +0200
commita212e6154c5d748ef6068fc3539790d4c806bfc5 (patch)
tree75a5b5057a321546d4cb7b4ae9a220c492db7fbc /kpacman/bitfont.cpp
parenta451e44f4ac9838eca11731780be425a1f46a0b8 (diff)
downloadtdepacman-a212e6154c5d748ef6068fc3539790d4c806bfc5.tar.gz
tdepacman-a212e6154c5d748ef6068fc3539790d4c806bfc5.zip
Remove some deprecated Qt2 stuff.
TQArray vs TQMemArray. Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'kpacman/bitfont.cpp')
-rw-r--r--kpacman/bitfont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpacman/bitfont.cpp b/kpacman/bitfont.cpp
index 91b4baa..1f4d3d9 100644
--- a/kpacman/bitfont.cpp
+++ b/kpacman/bitfont.cpp
@@ -26,7 +26,7 @@ TQPixmap Bitfont::text(TQString str, TQColor fg, TQColor bg)
TQPixmap FG(str.length()*fontWidth, fontHeight);
TQBitmap MASK(str.length()*fontWidth, fontHeight, TRUE);
- const uchar *s = (const uchar *) str.data();
+ const uchar *s = (const uchar *) str.local8Bit().data();
for (uint i = 0; i < str.length(); i++) {
if (font.width() == font.height())
bitBlt(&MASK, i*fontWidth, 0, &font,