Skip to content

Commit

Permalink
track/track: Fix naming of Track::replayGainUpdated signal
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Apr 15, 2020
1 parent 3cbf687 commit b63ede8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/mixer/basetrackplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ TrackPointer BaseTrackPlayerImpl::loadFakeTrack(bool bPlay, double filebpm) {

// Listen for updates to the file's Replay Gain
connect(m_pLoadedTrack.get(),
&Track::ReplayGainUpdated,
&Track::replayGainUpdated,
this,
&BaseTrackPlayerImpl::slotSetReplayGain);

Expand Down Expand Up @@ -289,7 +289,7 @@ void BaseTrackPlayerImpl::connectLoadedTrack() {
m_pKey.get(),
&ControlProxy::set);
connect(m_pLoadedTrack.get(),
&Track::ReplayGainUpdated,
&Track::replayGainUpdated,
this,
&BaseTrackPlayerImpl::slotSetReplayGain);
connect(m_pLoadedTrack.get(),
Expand Down
4 changes: 2 additions & 2 deletions src/track/track.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void Track::importMetadata(
// explicitly unlock before emitting signals
markDirtyAndUnlock(&lock);
if (modifiedReplayGain) {
emit ReplayGainUpdated(newReplayGain);
emit replayGainUpdated(newReplayGain);
}
}

Expand Down Expand Up @@ -230,7 +230,7 @@ void Track::setReplayGain(const mixxx::ReplayGain& replayGain) {
QMutexLocker lock(&m_qMutex);
if (compareAndSet(m_record.refMetadata().refTrackInfo().ptrReplayGain(), replayGain)) {
markDirtyAndUnlock(&lock);
emit ReplayGainUpdated(replayGain);
emit replayGainUpdated(replayGain);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/track/track.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ class Track : public QObject {
void beatsUpdated();
void keyUpdated(double key);
void keysUpdated();
void ReplayGainUpdated(mixxx::ReplayGain replayGain);
void replayGainUpdated(mixxx::ReplayGain replayGain);
void colorUpdated(mixxx::RgbColor::optional_t color);
void cuesUpdated();
void analyzed();
Expand Down

0 comments on commit b63ede8

Please sign in to comment.