diff options
Diffstat (limited to 'libkdegames/kgameprogress.cpp')
-rw-r--r-- | libkdegames/kgameprogress.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libkdegames/kgameprogress.cpp b/libkdegames/kgameprogress.cpp index 7ed1728f..b814b48f 100644 --- a/libkdegames/kgameprogress.cpp +++ b/libkdegames/kgameprogress.cpp @@ -242,9 +242,9 @@ void KGameProgress::drawText(TQPainter *p) // the current value and the maximum value respectively. TQString s(format_); - s.tqreplace(TQRegExp(TQString::tqfromLatin1("%p")), TQString::number(recalcValue(100))); - s.tqreplace(TQRegExp(TQString::tqfromLatin1("%v")), TQString::number(value())); - s.tqreplace(TQRegExp(TQString::tqfromLatin1("%m")), TQString::number(maxValue())); + s.replace(TQRegExp(TQString::tqfromLatin1("%p")), TQString::number(recalcValue(100))); + s.replace(TQRegExp(TQString::tqfromLatin1("%v")), TQString::number(value())); + s.replace(TQRegExp(TQString::tqfromLatin1("%m")), TQString::number(maxValue())); p->setPen(text_color); TQFont font = p->font(); |