# HG changeset patch # User Chris Cannam # Date 1539179447 -3600 # Node ID b9bfcb8cd5a1bfded9bf83a00a4c5f00dbdff770 # Parent 40b9a495a0e0bb0b5d4f57b94a4261d0e8cf1c7d Remove some debug bits diff -r 40b9a495a0e0 -r b9bfcb8cd5a1 view/Pane.cpp --- a/view/Pane.cpp Wed Oct 10 14:33:10 2018 +0100 +++ b/view/Pane.cpp Wed Oct 10 14:50:47 2018 +0100 @@ -189,13 +189,12 @@ m_hthumb->setMaximumValue(count); m_hthumb->setValue(count - current); - cerr << "set value to " << count - 1 - current << endl; - - cerr << "default value is " << m_hthumb->getDefaultValue() << endl; +// cerr << "set value to " << count - 1 - current << endl; +// cerr << "default value is " << m_hthumb->getDefaultValue() << endl; if (m_hthumb->getDefaultValue() == 0) { m_hthumb->setDefaultValue(count - current); - cerr << "set default value to " << m_hthumb->getDefaultValue() << endl; +// cerr << "set default value to " << m_hthumb->getDefaultValue() << endl; } bool haveVThumb = false; diff -r 40b9a495a0e0 -r b9bfcb8cd5a1 view/View.cpp --- 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; }