Mercurial > hg > svgui
comparison view/ViewManager.cpp @ 587:4806715f7a19
Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 15:27:05 +0100 |
parents | f4960f8ce798 |
children | 707d43018f59 0946feb81b79 5b72899d692b |
comparison
equal
deleted
inserted
replaced
586:1ae54a29e59e | 587:4806715f7a19 |
---|---|
497 PlaybackFollowMode mode) | 497 PlaybackFollowMode mode) |
498 { | 498 { |
499 View *v = dynamic_cast<View *>(sender()); | 499 View *v = dynamic_cast<View *>(sender()); |
500 | 500 |
501 #ifdef DEBUG_VIEW_MANAGER | 501 #ifdef DEBUG_VIEW_MANAGER |
502 DEBUG << "ViewManager::viewCentreFrameChanged(" << f << ", " << locked << ", " << mode << "), view is " << v << endl; | 502 SVDEBUG << "ViewManager::viewCentreFrameChanged(" << f << ", " << locked << ", " << mode << "), view is " << v << endl; |
503 #endif | 503 #endif |
504 | 504 |
505 if (locked) { | 505 if (locked) { |
506 m_globalCentreFrame = f; | 506 m_globalCentreFrame = f; |
507 emit globalCentreFrameChanged(f); | 507 emit globalCentreFrameChanged(f); |
554 ViewManager::viewZoomLevelChanged(unsigned long z, bool locked) | 554 ViewManager::viewZoomLevelChanged(unsigned long z, bool locked) |
555 { | 555 { |
556 View *v = dynamic_cast<View *>(sender()); | 556 View *v = dynamic_cast<View *>(sender()); |
557 | 557 |
558 if (!v) { | 558 if (!v) { |
559 DEBUG << "ViewManager::viewZoomLevelChanged: WARNING: sender is not a view" << endl; | 559 SVDEBUG << "ViewManager::viewZoomLevelChanged: WARNING: sender is not a view" << endl; |
560 return; | 560 return; |
561 } | 561 } |
562 | 562 |
563 //!!! emit zoomLevelChanged(); | 563 //!!! emit zoomLevelChanged(); |
564 | 564 |