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/zip.cpp | |
parent | 1d93eb1e7a39aae33ed852b61b490882e101432e (diff) | |
download | tdeutils-580ffcad.tar.gz tdeutils-580ffcad.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/zip.cpp')
-rw-r--r-- | ark/zip.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ark/zip.cpp b/ark/zip.cpp index 4227ae5..392cc5c 100644 --- a/ark/zip.cpp +++ b/ark/zip.cpp @@ -144,7 +144,7 @@ void ZipArch::addFile( const TQStringList &urls ) *kp << m_archiver_program; if ( !m_password.isEmpty() ) - *kp << "-P" << m_password; + *kp << "-P" << m_password.local8Bit(); if ( ArkSettings::rarRecurseSubdirs() ) *kp << "-r"; @@ -202,7 +202,7 @@ void ZipArch::unarchFileInternal() *kp << m_unarchiver_program; if ( !m_password.isEmpty() ) - *kp << "-P" << m_password; + *kp << "-P" << m_password.local8Bit(); if ( ArkSettings::extractJunkPaths() && !m_viewFriendly ) *kp << "-j" ; @@ -292,7 +292,7 @@ void ZipArch::test() *kp << m_unarchiver_program << "-t"; if ( !m_password.isEmpty() ) - *kp << "-P" << m_password; + *kp << "-P" << m_password.local8Bit(); *kp << m_filename; |