From a212e6154c5d748ef6068fc3539790d4c806bfc5 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Fri, 21 Aug 2020 14:42:44 +0200 Subject: Remove some deprecated Qt2 stuff. TQArray vs TQMemArray. Signed-off-by: gregory guy --- kpacman/bitfont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kpacman/bitfont.cpp') 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, -- cgit v1.2.3