summaryrefslogtreecommitdiffstats
path: root/ark/rar.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-11-30 11:26:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-11-30 11:26:25 +0900
commit580ffcad3885e5d24e98a9dffe4962654753136e (patch)
treed9019fe61ba9d77465eed215e3aa607772d76d39 /ark/rar.cpp
parent1d93eb1e7a39aae33ed852b61b490882e101432e (diff)
downloadtdeutils-580ffcad3885e5d24e98a9dffe4962654753136e.tar.gz
tdeutils-580ffcad3885e5d24e98a9dffe4962654753136e.zip
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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;