summaryrefslogtreecommitdiffstats
path: root/kpacman/score.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/score.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/score.cpp')
-rw-r--r--kpacman/score.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpacman/score.cpp b/kpacman/score.cpp
index c4f86b8..68a5682 100644
--- a/kpacman/score.cpp
+++ b/kpacman/score.cpp
@@ -128,7 +128,7 @@ void Score::paintEvent( TQPaintEvent *e)
for (int i = 0; i < 10; i++) {
s.sprintf("%2d%9d %-3.3s %-8.8s",
i+1, hallOfFame[i].points, hallOfFame[i].name.utf8().data(),
- formatDate(hallOfFame[i].moment.date()).data());
+ formatDate(hallOfFame[i].moment.date()).utf8());
if (rect(1, (11+i)*1.25, s).intersects(e->rect())) {
TQPixmap pix = bitfont->text(s, (i == lastScore) ? YELLOW : WHITE, BLACK);
bitBlt(this, x(1), y((11+i)*1.25), &pix);