summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krArc/krarc.cpp2
-rw-r--r--krusader/UserAction/expander.cpp2
-rw-r--r--krusader/krservices.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/krArc/krarc.cpp b/krArc/krarc.cpp
index f4d621e..6a9d75f 100644
--- a/krArc/krarc.cpp
+++ b/krArc/krarc.cpp
@@ -1656,7 +1656,7 @@ TQString kio_krarcProtocol::escape( TQString name ) {
const TQString evilstuff = "\\\"'`()[]{}!?;$&<>| "; // stuff that should get escaped
for ( unsigned int i = 0; i < evilstuff.length(); ++i )
- name.tqreplace( evilstuff[ i ], (TQString('\\') + evilstuff[ i ]) );
+ name.tqreplace( evilstuff[ i ], (TQString("\\") + evilstuff[ i ]) );
return name;
}
diff --git a/krusader/UserAction/expander.cpp b/krusader/UserAction/expander.cpp
index fc4aab9..559a7ac 100644
--- a/krusader/UserAction/expander.cpp
+++ b/krusader/UserAction/expander.cpp
@@ -339,7 +339,7 @@ TQString bashquote( TQString s ) {
static const TQString evilstuff = "\\\"'`()[]{}!?;$&<>| \t\r\n"; // stuff that should get escaped
for ( unsigned int i = 0; i < evilstuff.length(); ++i )
- s.tqreplace( evilstuff[ i ], (TQString('\\') + evilstuff[ i ]) );
+ s.tqreplace( evilstuff[ i ], (TQString("\\") + evilstuff[ i ]) );
return s;
}
diff --git a/krusader/krservices.cpp b/krusader/krservices.cpp
index 463247d..768b431 100644
--- a/krusader/krservices.cpp
+++ b/krusader/krservices.cpp
@@ -185,7 +185,7 @@ TQString KrServices::escape( TQString name ) {
const TQString evilstuff = "\\\"'`()[]{}!?;$&<>| \t\r\n"; // stuff that should get escaped
for ( unsigned int i = 0; i < evilstuff.length(); ++i )
- name.tqreplace( evilstuff[ i ], (TQString('\\') + evilstuff[ i ]) );
+ name.tqreplace( evilstuff[ i ], (TQString("\\") + evilstuff[ i ]) );
return name;
}