aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-12-27 14:26:06 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-12-27 14:26:06 +0000
commitd83b3926a0c4de4902ce85bfc852b2a261ac3452 (patch)
treee383c245e865d29c980bda061ac8618e2eaf39ce /src
parentb47a13e6d614fca27f5dfcdb6574282180e31ecb (diff)
downloadqmmp-d83b3926a0c4de4902ce85bfc852b2a261ac3452.tar.gz
qmmp-d83b3926a0c4de4902ce85bfc852b2a261ac3452.tar.bz2
qmmp-d83b3926a0c4de4902ce85bfc852b2a261ac3452.zip
fixed replay gain debug output
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5908 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
-rw-r--r--src/qmmp/replaygain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmmp/replaygain.cpp b/src/qmmp/replaygain.cpp
index e246d5f0f..dc036e39e 100644
--- a/src/qmmp/replaygain.cpp
+++ b/src/qmmp/replaygain.cpp
@@ -39,7 +39,7 @@ void ReplayGain::setReplayGainInfo(const QMap<Qmmp::ReplayGainKey, double> &info
{
m_info = info;
updateScale();
- if(m_mode != QmmpSettings::REPLAYGAIN_DISABLED)
+ if(m_mode != QmmpSettings::REPLAYGAIN_DISABLED && !m_disabled)
{
qDebug("ReplayGain: track: gain=%f dB, peak=%f; album: gain=%f dB, peak=%f",
m_info[Qmmp::REPLAYGAIN_TRACK_GAIN],