Skip to content
Permalink
Browse files

trivial fix for debug messages

git-svn-id: http://svn.osgeo.org/qgis/trunk@7376 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 11, 2007
1 parent 7c2152c commit b336c7bfedebd2a4fe3bfb8ab800f856795e1b48
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/core/qgsmaplayer.cpp
@@ -41,13 +41,13 @@ QgsMapLayer::QgsMapLayer(int type,
mLayerType(type)

{
QgsDebugMsg("QgsMapLayer::QgsMapLayer - lyrname is '" + lyrname);
QgsDebugMsg("QgsMapLayer::QgsMapLayer - lyrname is '" + lyrname + "'");

mSRS = new QgsSpatialRefSys();

// Set the display name = internal name
mLayerName = capitaliseLayerName(lyrname);
QgsDebugMsg("QgsMapLayer::QgsMapLayer - layerName is '" + mLayerName);
QgsDebugMsg("QgsMapLayer::QgsMapLayer - layerName is '" + mLayerName + "'");

// Generate the unique ID of this layer
QDateTime dt = QDateTime::currentDateTime();
@@ -87,15 +87,15 @@ QString QgsMapLayer::getLayerID() const
/** Write property of QString layerName. */
void QgsMapLayer::setLayerName(const QString & _newVal)
{
QgsDebugMsg("QgsMapLayer::setLayerName: new name is '" + _newVal);
QgsDebugMsg("QgsMapLayer::setLayerName: new name is '" + _newVal + "'");
mLayerName = capitaliseLayerName(_newVal);
emit layerNameChanged();
}

/** Read property of QString layerName. */
QString const & QgsMapLayer::name() const
{
QgsDebugMsg("QgsMapLayer::name: returning name '" + mLayerName);
QgsDebugMsg("QgsMapLayer::name: returning name '" + mLayerName + "'");
return mLayerName;
}

0 comments on commit b336c7b

Please sign in to comment.
You can’t perform that action at this time.