Skip to content

Commit bbf1e37

Browse files
GongHeng2017deepin-bot[bot]
authored andcommitted
Fix: [7z-compress] Optimize the default 7z compression efficiency.
-- Optimize the default 7z compression efficiency. Log: fix issue Bug: https://pms.uniontech.com/bug-view-287203.html
1 parent 165d2e2 commit bbf1e37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/source/mainwindow.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3552,6 +3552,7 @@ void MainWindow::slotShowShortcutTip()
35523552
void MainWindow::slotFinishCalculateSize(qint64 size, QString strArchiveFullPath, QList<FileEntry> listAddEntry, CompressOptions stOptions, QList<FileEntry> listAllEntry)
35533553
{
35543554
if (StartupType::ST_Compresstozip7z == m_eStartupType) {
3555+
stOptions.iCompressionLevel = 1;
35553556
#ifdef DTKCORE_CLASS_DConfigFile
35563557
if(m_pCompressSettingPage->isOrderMode()) {
35573558
DConfig *dconfig = DConfig::create("org.deepin.compressor","org.deepin.compressor.method");

0 commit comments

Comments
 (0)