comparison view/ViewManager.cpp @ 808:40c6c9344ff6 warnfix_no_size_t

Merge from branch tony_integration
author Chris Cannam
date Wed, 18 Jun 2014 08:40:46 +0100
parents 4c8ca536b54f c58569bd952e
children 09026c875301
comparison
equal deleted inserted replaced
807:e4773943c9c1 808:40c6c9344ff6
552 emit globalCentreFrameChanged(f); 552 emit globalCentreFrameChanged(f);
553 } else { 553 } else {
554 if (v) emit viewCentreFrameChanged(v, f); 554 if (v) emit viewCentreFrameChanged(v, f);
555 } 555 }
556 556
557 if (!dynamic_cast<Overview *>(v) || (mode != PlaybackIgnore)) { 557 if (!dynamic_cast<Overview *>(v) || (mode == PlaybackScrollContinuous)) {
558 if (m_mainModelSampleRate != 0) { 558 if (m_mainModelSampleRate != 0) {
559 emit activity(tr("Scroll to %1") 559 emit activity(tr("Scroll to %1")
560 .arg(RealTime::frame2RealTime 560 .arg(RealTime::frame2RealTime
561 (f, m_mainModelSampleRate).toText().c_str())); 561 (f, m_mainModelSampleRate).toText().c_str()));
562 } 562 }
563 } 563 }
564 564
565 if (mode == PlaybackIgnore) { 565 if (mode != PlaybackScrollContinuous) {
566 return; 566 return;
567 } 567 }
568 568
569 seek(f); 569 seek(f);
570 } 570 }