Mercurial > hg > svgui
diff view/View.cpp @ 1355:b9bfcb8cd5a1
Remove some debug bits
author | Chris Cannam |
---|---|
date | Wed, 10 Oct 2018 14:50:47 +0100 |
parents | 40b9a495a0e0 |
children | 93eaff6f206d |
line wrap: on
line diff
--- a/view/View.cpp Wed Oct 10 14:33:10 2018 +0100 +++ b/view/View.cpp Wed Oct 10 14:50:47 2018 +0100 @@ -1507,7 +1507,7 @@ level = getZoomConstraintLevel (level.incremented(), ZoomConstraint::RoundUp); } - cerr << "View::countZoomLevels: " << n << endl; +// cerr << "View::countZoomLevels: " << n << endl; return n; } @@ -1520,8 +1520,8 @@ ZoomLevel level = min; while (true) { if (n == ix) { - cerr << "View::getZoomLevelByIndex: " << ix << " -> " << level - << endl; +// cerr << "View::getZoomLevelByIndex: " << ix << " -> " << level +// << endl; return level; } ++n; @@ -1531,8 +1531,8 @@ level = getZoomConstraintLevel (level.incremented(), ZoomConstraint::RoundUp); } - cerr << "View::getZoomLevelByIndex: " << ix << " -> " << max << " (max)" - << endl; +// cerr << "View::getZoomLevelByIndex: " << ix << " -> " << max << " (max)" +// << endl; return max; } @@ -1545,8 +1545,8 @@ ZoomLevel level = min; while (true) { if (z == level) { - cerr << "View::getZoomLevelIndex: " << z << " -> " << n - << endl; +// cerr << "View::getZoomLevelIndex: " << z << " -> " << n +// << endl; return n; } ++n; @@ -1556,8 +1556,8 @@ level = getZoomConstraintLevel (level.incremented(), ZoomConstraint::RoundUp); } - cerr << "View::getZoomLevelIndex: " << z << " -> " << n << " (max)" - << endl; +// cerr << "View::getZoomLevelIndex: " << z << " -> " << n << " (max)" +// << endl; return n; }