@@ -945,12 +945,12 @@ void Track::setMainCuePosition(mixxx::audio::FramePos position) {
945945 }
946946
947947 // Store the cue point as main cue
948- CuePointer pLoadCue = findCueByType (mixxx::CueType::MainCue);
948+ CuePointer pMainCue = findCueByType (mixxx::CueType::MainCue);
949949 if (position.isValid ()) {
950- if (pLoadCue ) {
951- pLoadCue ->setStartPosition (position);
950+ if (pMainCue ) {
951+ pMainCue ->setStartPosition (position);
952952 } else {
953- pLoadCue = CuePointer (new Cue (
953+ pMainCue = CuePointer (new Cue (
954954 mixxx::CueType::MainCue,
955955 Cue::kNoHotCue ,
956956 position,
@@ -959,16 +959,16 @@ void Track::setMainCuePosition(mixxx::audio::FramePos position) {
959959 // While this method could be called from any thread,
960960 // associated Cue objects should always live on the
961961 // same thread as their host, namely this->thread().
962- pLoadCue ->moveToThread (thread ());
963- connect (pLoadCue .get (),
962+ pMainCue ->moveToThread (thread ());
963+ connect (pMainCue .get (),
964964 &Cue::updated,
965965 this ,
966966 &Track::slotCueUpdated);
967- m_cuePoints.push_back (pLoadCue );
967+ m_cuePoints.push_back (pMainCue );
968968 }
969- } else if (pLoadCue ) {
970- disconnect (pLoadCue .get (), nullptr , this , nullptr );
971- m_cuePoints.removeOne (pLoadCue );
969+ } else if (pMainCue ) {
970+ disconnect (pMainCue .get (), nullptr , this , nullptr );
971+ m_cuePoints.removeOne (pMainCue );
972972 }
973973
974974 markDirtyAndUnlock (&locked);
0 commit comments