diff 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
line wrap: on
line diff
--- a/framework/Document.cpp	Tue Nov 26 14:12:50 2013 +0000
+++ b/framework/Document.cpp	Tue Nov 26 14:14:25 2013 +0000
@@ -662,7 +662,7 @@
 	model != m_mainModel &&
 	m_models.find(model) == m_models.end()) {
 	cerr << "ERROR: Document::setModel: Layer " << layer
-		  << " (\"" << layer->objectName().toStdString()
+		  << " (\"" << layer->objectName()
                   << "\") wants to use unregistered model " << model
 		  << ": register the layer's model before setting it!"
 		  << endl;