Mercurial > hg > svgui
comparison view/Pane.cpp @ 1355:b9bfcb8cd5a1
Remove some debug bits
author | Chris Cannam |
---|---|
date | Wed, 10 Oct 2018 14:50:47 +0100 |
parents | 40b9a495a0e0 |
children | 93eaff6f206d |
comparison
equal
deleted
inserted
replaced
1354:40b9a495a0e0 | 1355:b9bfcb8cd5a1 |
---|---|
187 | 187 |
188 m_hthumb->setMinimumValue(1); | 188 m_hthumb->setMinimumValue(1); |
189 m_hthumb->setMaximumValue(count); | 189 m_hthumb->setMaximumValue(count); |
190 m_hthumb->setValue(count - current); | 190 m_hthumb->setValue(count - current); |
191 | 191 |
192 cerr << "set value to " << count - 1 - current << endl; | 192 // cerr << "set value to " << count - 1 - current << endl; |
193 | 193 // cerr << "default value is " << m_hthumb->getDefaultValue() << endl; |
194 cerr << "default value is " << m_hthumb->getDefaultValue() << endl; | |
195 | 194 |
196 if (m_hthumb->getDefaultValue() == 0) { | 195 if (m_hthumb->getDefaultValue() == 0) { |
197 m_hthumb->setDefaultValue(count - current); | 196 m_hthumb->setDefaultValue(count - current); |
198 cerr << "set default value to " << m_hthumb->getDefaultValue() << endl; | 197 // cerr << "set default value to " << m_hthumb->getDefaultValue() << endl; |
199 } | 198 } |
200 | 199 |
201 bool haveVThumb = false; | 200 bool haveVThumb = false; |
202 | 201 |
203 if (layer) { | 202 if (layer) { |