diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-13 18:42:43 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-14 23:18:41 +0900 |
| commit | 5bba09ee4570e1227de99565d41ae9fb6bc14ae1 (patch) | |
| tree | 29d378b82102f1de620ee07a8167d569f7f031d7 /src/filelist.cpp | |
| parent | 546952a11f82de4741f508f401ab613c172ad293 (diff) | |
| download | soundkonverter-5bba09ee.tar.gz soundkonverter-5bba09ee.zip | |
cmake conversion
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 802b45c5566c3916e46250060ecef332f055fc26)
Diffstat (limited to 'src/filelist.cpp')
| -rw-r--r-- | src/filelist.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/filelist.cpp b/src/filelist.cpp index f1f49d3..65a2ef8 100644 --- a/src/filelist.cpp +++ b/src/filelist.cpp @@ -1413,10 +1413,10 @@ TQString FileList::debug_params( ConversionOptions conversionOptions, FormatItem } } - if( conversionOptions.encodingOptions.replaygain.bEnabled && plugin->enc.replaygain.enabled && plugin->enc.replaygain.use && formatItem->internalReplayGain ) { + if( conversionOptions.encodingOptions.replaygain.bEnabled && plugin->enc.replaygain.enabled && !plugin->enc.replaygain.use.isEmpty() && formatItem->internalReplayGain ) { param.append( " " + plugin->enc.replaygain.use ); } - else if( plugin->enc.replaygain.enabled && plugin->enc.replaygain.avoid ) { + else if( plugin->enc.replaygain.enabled && !plugin->enc.replaygain.avoid.isEmpty() ) { param.append( " " + plugin->enc.replaygain.avoid ); } @@ -1443,3 +1443,5 @@ TQString FileList::debug_params( ConversionOptions conversionOptions, FormatItem return conversionOptions.encodingOptions.sInOutFiles.replace( "%p", param ); } + +#include "filelist.moc" |
