summaryrefslogtreecommitdiffstats
path: root/ark/sevenzip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ark/sevenzip.cpp')
-rw-r--r--ark/sevenzip.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ark/sevenzip.cpp b/ark/sevenzip.cpp
index 287ec3b..e6823c0 100644
--- a/ark/sevenzip.cpp
+++ b/ark/sevenzip.cpp
@@ -136,7 +136,7 @@ void SevenZipArch::addFile( const TQStringList & urls )
*kp << m_archiver_program << "a" ;
if ( !m_password.isEmpty() )
- *kp << "-p" + m_password;
+ *kp << "-p" + m_password.local8Bit();
KURL url( urls.first() );
TQDir::setCurrent( url.directory() );
@@ -232,7 +232,7 @@ void SevenZipArch::unarchFileInternal( )
*kp << "-y";
if ( !m_password.isEmpty() )
- *kp << "-p" + m_password;
+ *kp << "-p" + m_password.local8Bit();
*kp << m_filename;
@@ -401,7 +401,7 @@ void SevenZipArch::test()
*kp << m_unarchiver_program << "t";
if ( !m_password.isEmpty() )
- *kp << "-p" + m_password;
+ *kp << "-p" + m_password.local8Bit();
*kp << m_filename;