Mercurial > hg > svgui
changeset 1355:b9bfcb8cd5a1
Remove some debug bits
author | Chris Cannam |
---|---|
date | Wed, 10 Oct 2018 14:50:47 +0100 |
parents | 40b9a495a0e0 |
children | dddfd28e4f02 53fe33b00770 |
files | view/Pane.cpp view/View.cpp |
diffstat | 2 files changed, 12 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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; }