diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-11-30 11:26:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-11-30 11:26:25 +0900 |
commit | 580ffcad3885e5d24e98a9dffe4962654753136e (patch) | |
tree | d9019fe61ba9d77465eed215e3aa607772d76d39 /ark/arj.cpp | |
parent | 1d93eb1e7a39aae33ed852b61b490882e101432e (diff) | |
download | tdeutils-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/arj.cpp')
-rw-r--r-- | ark/arj.cpp | 6 |
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; |