comparison data/model/Model.cpp @ 686:b4a8d8221eaf debug-output

Remove most toStdString calls (no longer needed, with debug header)
author Chris Cannam
date Thu, 12 May 2011 17:31:24 +0100
parents 7207e3eba44f
children 06f13a3b9e9e
comparison
equal deleted inserted replaced
685:99222d4bfc78 686:b4a8d8221eaf
26 { 26 {
27 // std::cerr << "Model::~Model(" << this << ")" << std::endl; 27 // std::cerr << "Model::~Model(" << this << ")" << std::endl;
28 28
29 if (!m_aboutToDelete) { 29 if (!m_aboutToDelete) {
30 std::cerr << "NOTE: Model::~Model(" << this << ", \"" 30 std::cerr << "NOTE: Model::~Model(" << this << ", \""
31 << objectName().toStdString() << "\"): Model deleted " 31 << objectName() << "\"): Model deleted "
32 << "with no aboutToDelete notification" << std::endl; 32 << "with no aboutToDelete notification" << std::endl;
33 } 33 }
34 34
35 if (m_alignment) { 35 if (m_alignment) {
36 m_alignment->aboutToDelete(); 36 m_alignment->aboutToDelete();
61 { 61 {
62 // std::cerr << "Model(" << this << ")::aboutToDelete()" << std::endl; 62 // std::cerr << "Model(" << this << ")::aboutToDelete()" << std::endl;
63 63
64 if (m_aboutToDelete) { 64 if (m_aboutToDelete) {
65 std::cerr << "WARNING: Model(" << this << ", \"" 65 std::cerr << "WARNING: Model(" << this << ", \""
66 << objectName().toStdString() << "\")::aboutToDelete: " 66 << objectName() << "\")::aboutToDelete: "
67 << "aboutToDelete called more than once for the same model" 67 << "aboutToDelete called more than once for the same model"
68 << std::endl; 68 << std::endl;
69 } 69 }
70 70
71 emit aboutToBeDeleted(); 71 emit aboutToBeDeleted();