diff view/ViewProxy.h @ 1329:344f29e46258 zoom

Responding to a hang due to mismatching zoom and block sizes
author Chris Cannam
date Thu, 20 Sep 2018 15:42:12 +0100
parents 97c68bffbda6
children 28075cc658c9
line wrap: on
line diff
--- a/view/ViewProxy.h	Thu Sep 20 13:14:15 2018 +0100
+++ b/view/ViewProxy.h	Thu Sep 20 15:42:12 2018 +0100
@@ -78,7 +78,7 @@
     virtual ZoomLevel getZoomLevel() const {
         ZoomLevel z = m_view->getZoomLevel();
         //!!!
-        cerr << "getZoomLevel: from " << z << " to ";
+//        cerr << "getZoomLevel: from " << z << " to ";
         if (z.zone == ZoomLevel::FramesPerPixel) {
             z.level /= m_scaleFactor;
             if (z.level < 1) {
@@ -88,7 +88,7 @@
             //!!!???
             z.level *= m_scaleFactor;
         }
-        cerr << z << endl;
+//        cerr << z << endl;
         return z;
     }
     virtual QRect getPaintRect() const {