Mercurial > hg > svgui
comparison view/ViewManager.cpp @ 398:80e279e4f9fe
* Add more data-editor support to various models
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2008 14:33:45 +0000 |
parents | 592d692b4f8b |
children | 73a58a4dfebd |
comparison
equal
deleted
inserted
replaced
397:2c59b0cd176b | 398:80e279e4f9fe |
---|---|
472 ViewManager::viewCentreFrameChanged(unsigned long f, bool locked, | 472 ViewManager::viewCentreFrameChanged(unsigned long f, bool locked, |
473 PlaybackFollowMode mode) | 473 PlaybackFollowMode mode) |
474 { | 474 { |
475 View *v = dynamic_cast<View *>(sender()); | 475 View *v = dynamic_cast<View *>(sender()); |
476 | 476 |
477 #ifdef DEBUG_VIEW_MANAGER | |
477 std::cerr << "ViewManager::viewCentreFrameChanged(" << f << ", " << locked << ", " << mode << "), view is " << v << std::endl; | 478 std::cerr << "ViewManager::viewCentreFrameChanged(" << f << ", " << locked << ", " << mode << "), view is " << v << std::endl; |
479 #endif | |
478 | 480 |
479 if (locked) { | 481 if (locked) { |
480 m_globalCentreFrame = f; | 482 m_globalCentreFrame = f; |
481 emit globalCentreFrameChanged(f); | 483 emit globalCentreFrameChanged(f); |
482 } else { | 484 } else { |