summaryrefslogtreecommitdiffstats
path: root/ark/rar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ark/rar.cpp')
-rw-r--r--ark/rar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ark/rar.cpp b/ark/rar.cpp
index 68aa604..3c5d8fa 100644
--- a/ark/rar.cpp
+++ b/ark/rar.cpp
@@ -205,7 +205,7 @@ void RarArch::open()
*kp << m_unarchiver_program << "v" << "-c-";
if ( !m_password.isEmpty() )
- *kp << "-p" + m_password;
+ *kp << "-p" + m_password.local8Bit();
else
*kp << "-p-";
@@ -283,7 +283,7 @@ void RarArch::addFile( const TQStringList & urls )
*kp << "-r";
if ( !m_password.isEmpty() )
- *kp << "-p"+m_password;
+ *kp << "-p"+m_password.local8Bit();
*kp << m_filename;
@@ -326,7 +326,7 @@ void RarArch::unarchFileInternal()
*kp << m_unarchiver_program << "x";
if ( !m_password.isEmpty() )
- *kp << "-p" + m_password;
+ *kp << "-p" + m_password.local8Bit();
else
*kp << "-p-";
@@ -414,7 +414,7 @@ void RarArch::test()
*kp << m_unarchiver_program << "t";
if ( !m_password.isEmpty() )
- *kp << "-p" + m_password;
+ *kp << "-p" + m_password.local8Bit();
*kp << m_filename;