This adds a compression level switch to AddArgs.
Details
Details
Diff Detail
Diff Detail
- Repository
- R36 Ark
- Lint
Lint Skipped - Unit
Unit Tests Skipped
kerfuffle/cliinterface.cpp | ||
---|---|---|
723 ↗ | (On Diff #3036) | Some kind of input validation would be useful here. Say that the level is negative (should not happen, but who knows), in that case the function should return an empty list (and the plugin would then use whatever the default level is. |
kerfuffle/cliinterface.h | ||
---|---|---|
155 ↗ | (On Diff #3036) | Should we change this one to a QString? |
Comment Actions
Set compression level from CompressionOptions. Now we just need to implement the GUI.
Add an assert to CliInterface::compressionLevelSwitch() which checks that the compression level is between 0 and 9.
kerfuffle/cliinterface.h | ||
---|---|---|
155 ↗ | (On Diff #3036) | Yes, makes sense. |