comparison framework/Document.cpp @ 65:a8c8a9551a28

* Improvements to layer summary dialog (LayerTree, LayerTreeDialog), & rename. It's still rather unstable though.
author Chris Cannam
date Wed, 28 Nov 2007 17:45:37 +0000
parents b6605be1a2d1
children cedeab01d4c8
comparison
equal deleted inserted replaced
64:b6605be1a2d1 65:a8c8a9551a28
101 101
102 newLayer->setObjectName(getUniqueLayerName(newLayer->objectName())); 102 newLayer->setObjectName(getUniqueLayerName(newLayer->objectName()));
103 103
104 m_layers.insert(newLayer); 104 m_layers.insert(newLayer);
105 105
106 std::cerr << "Document::createLayer: Added layer of type " << type 106 // std::cerr << "Document::createLayer: Added layer of type " << type
107 << ", now have " << m_layers.size() << " layers" << std::endl; 107 // << ", now have " << m_layers.size() << " layers" << std::endl;
108 108
109 emit layerAdded(newLayer); 109 emit layerAdded(newLayer);
110 110
111 return newLayer; 111 return newLayer;
112 } 112 }