diff options
Diffstat (limited to 'knights/dlg_challenge.cpp')
-rw-r--r-- | knights/dlg_challenge.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/knights/dlg_challenge.cpp b/knights/dlg_challenge.cpp index b5ac2ec..342be76 100644 --- a/knights/dlg_challenge.cpp +++ b/knights/dlg_challenge.cpp @@ -89,11 +89,11 @@ void dlg_challenge::setValues( const TQString &string, const TQString &local ) TQStringList list; /*remove all the white space between the rating brackets*/ - myString.tqreplace( TQRegExp("\\(\\s"), "(" ); - myString.tqreplace( TQRegExp("\\s\\)"), ")" ); + myString.replace( TQRegExp("\\(\\s"), "(" ); + myString.replace( TQRegExp("\\s\\)"), ")" ); list = TQStringList::split( TQChar(' '), myString, FALSE ); - list[7].tqreplace(TQRegExp("\\."), ""); + list[7].replace(TQRegExp("\\."), ""); if( list[0] == local ) { localRating = list[1]; |