diff options
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" |