From 5a8037c24029d61246eee22dda12b8b8c499d5e6 Mon Sep 17 00:00:00 2001
From: tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Date: Mon, 4 Jul 2011 19:51:19 +0000
Subject: Fix krusader FTBFS under Qt3

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/krusader@1239284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
---
 krArc/krarc.cpp                  | 2 +-
 krusader/UserAction/expander.cpp | 2 +-
 krusader/krservices.cpp          | 2 +-
 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;
 }
-- 
cgit v1.2.1