summaryrefslogtreecommitdiffstats
path: root/ark/arj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ark/arj.cpp')
-rw-r--r--ark/arj.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ark/arj.cpp b/ark/arj.cpp
index 4a9ab44..7022b24 100644
--- a/ark/arj.cpp
+++ b/ark/arj.cpp
@@ -108,7 +108,7 @@ void ArjArch::addFile( const TQStringList & urls )
*kp << "-r";
if ( !m_password.isEmpty() )
- *kp << "-g"+m_password;
+ *kp << "-g"+m_password.local8Bit();
*kp << m_filename;
@@ -221,7 +221,7 @@ void ArjArch::unarchFileInternal()
*kp << "x";
if ( !m_password.isEmpty() )
- *kp << "-g" + m_password;
+ *kp << "-g" + m_password.local8Bit();
if ( ArkSettings::extractOverwrite() )
*kp << "-jyo";
@@ -306,7 +306,7 @@ void ArjArch::test()
*kp << m_unarchiver_program << "t";
if ( !m_password.isEmpty() )
- *kp << "-g" + m_password;
+ *kp << "-g" + m_password.local8Bit();
*kp << m_filename;