Port away from deprecated version of KArchive::writeFile()

parent 5c76632e
......@@ -110,7 +110,7 @@ bool KoZipStore::initZipStore( Mode _mode, const QByteArray& appIdentification )
m_pZip->setCompression( KZip::NoCompression );
m_pZip->setExtraField( KZip::NoExtraField );
// Write identification
(void)m_pZip->writeFile( "mimetype", "", "",appIdentification.data() , appIdentification.length() );
m_pZip->writeFile( "mimetype", appIdentification );
m_pZip->setCompression( KZip::DeflateCompression );
// We don't need the extra field in KOffice - so we leave it as "no extra field".
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment