Mercurial > hg > svgui
comparison widgets/Fader.cpp @ 584:1fe7951a61e8 debug-output
Remove most toStdString calls (no longer needed, with debug header)
author | Chris Cannam |
---|---|
date | Thu, 12 May 2011 17:31:43 +0100 |
parents | 8c00a4d4fc69 |
children | 1a0dfcbffaf1 |
comparison
equal
deleted
inserted
replaced
583:4c484636d5ec | 584:1fe7951a61e8 |
---|---|
220 .arg(db < 0.0 ? "-" : "") | 220 .arg(db < 0.0 ? "-" : "") |
221 .arg(abs(int(db))) | 221 .arg(abs(int(db))) |
222 .arg(abs(int(db * 10.0) % 10)) | 222 .arg(abs(int(db * 10.0) % 10)) |
223 .arg(abs(int(db * 100.0) % 10)); | 223 .arg(abs(int(db * 100.0) % 10)); |
224 } | 224 } |
225 std::cerr << "Fader: setting tooltip to \"" << text.toStdString() << "\"" << std::endl; | 225 std::cerr << "Fader: setting tooltip to \"" << text << "\"" << std::endl; |
226 QWidget::setToolTip(text); | 226 QWidget::setToolTip(text); |
227 update(); | 227 update(); |
228 } | 228 } |
229 } | 229 } |
230 | 230 |