summaryrefslogtreecommitdiffstats
path: root/src/gui/logview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/logview.cpp')
-rw-r--r--src/gui/logview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/logview.cpp b/src/gui/logview.cpp
index 690b593..a158049 100644
--- a/src/gui/logview.cpp
+++ b/src/gui/logview.cpp
@@ -83,17 +83,17 @@ void LogView::slotParaClicked( int para, int /*pos*/ )
void LogView::tidyText( TQString &t )
{
- t.tqreplace( "&", "&" );
- t.tqreplace( "<", "&lt;" );
- t.tqreplace( ">", "&gt;" );
+ t.replace( "&", "&amp;" );
+ t.replace( "<", "&lt;" );
+ t.replace( ">", "&gt;" );
}
void LogView::untidyText( TQString &t )
{
- t.tqreplace( "&lt;", "<" );
- t.tqreplace( "&gt;", ">" );
- t.tqreplace( "&amp;", "&" );
+ t.replace( "&lt;", "<" );
+ t.replace( "&gt;", ">" );
+ t.replace( "&amp;", "&" );
}