Mercurial > hg > svgui
diff view/Pane.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 | dc511d5fee75 |
children | f4960f8ce798 |
line wrap: on
line diff
--- a/view/Pane.cpp Thu Apr 14 15:21:21 2011 +0100 +++ b/view/Pane.cpp Thu May 12 17:31:43 2011 +0100 @@ -828,7 +828,7 @@ QString title = model->getTitle(); QString maker = model->getMaker(); //std::cerr << "Pane::drawWorkTitle: title=\"" << title.toStdString() -//<< "\", maker=\"" << maker.toStdString() << "\"" << std::endl; +//<< "\", maker=\"" << maker << "\"" << std::endl; if (title == "") return; QString text = title; @@ -875,7 +875,7 @@ for (LayerList::iterator i = m_layers.begin(); i != m_layers.end(); ++i) { texts.push_back((*i)->getLayerPresentationName()); // std::cerr << "Pane " << this << ": Layer presentation name for " << *i << ": " -// << texts[texts.size()-1].toStdString() << std::endl; +// << texts[texts.size()-1] << std::endl; pixmaps.push_back((*i)->getLayerPresentationPixmap (QSize(fontAscent, fontAscent))); } @@ -892,7 +892,7 @@ for (size_t i = 0; i < texts.size(); ++i) { -// std::cerr << "Pane "<< this << ": text " << i << ": " << texts[i].toStdString() << std::endl; +// std::cerr << "Pane "<< this << ": text " << i << ": " << texts[i] << std::endl; if (i + 1 == texts.size()) { paint.setPen(getForeground()); @@ -1724,7 +1724,7 @@ rmin = powf(10, rmin); rmax = powf(10, rmax); } - std::cerr << "finally: rmin: " << rmin << ", rmax: " << rmax << " " << unit.toStdString() << std::endl; + std::cerr << "finally: rmin: " << rmin << ", rmax: " << rmax << " " << unit << std::endl; layer->setDisplayExtents(rmin, rmax); updateVerticalPanner();