summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-04 19:51:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-04 19:51:19 +0000
commit5a8037c24029d61246eee22dda12b8b8c499d5e6 (patch)
tree8af7d244bfd8adef35bd879c4968273535446a79
parent6ffad5a006df848f5e9a80ca31e5faec8ed65e62 (diff)
downloadkrusader-5a8037c24029d61246eee22dda12b8b8c499d5e6.tar.gz
krusader-5a8037c24029d61246eee22dda12b8b8c499d5e6.zip
Fix krusader FTBFS under Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/krusader@1239284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-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;
}