Mercurial > hg > svapp
comparison framework/Document.cpp @ 294:933b5aed341a
Drop toStdString() and toLocal8Bit().data(), with debug header we can stream QStrings
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 14:14:25 +0000 |
parents | 068235cf5bf7 |
children | 14b1768e5406 |
comparison
equal
deleted
inserted
replaced
293:068235cf5bf7 | 294:933b5aed341a |
---|---|
660 { | 660 { |
661 if (model && | 661 if (model && |
662 model != m_mainModel && | 662 model != m_mainModel && |
663 m_models.find(model) == m_models.end()) { | 663 m_models.find(model) == m_models.end()) { |
664 cerr << "ERROR: Document::setModel: Layer " << layer | 664 cerr << "ERROR: Document::setModel: Layer " << layer |
665 << " (\"" << layer->objectName().toStdString() | 665 << " (\"" << layer->objectName() |
666 << "\") wants to use unregistered model " << model | 666 << "\") wants to use unregistered model " << model |
667 << ": register the layer's model before setting it!" | 667 << ": register the layer's model before setting it!" |
668 << endl; | 668 << endl; |
669 return; | 669 return; |
670 } | 670 } |