Skip to content

Commit

Permalink
trivial fix for debug messages
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@7376 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 11, 2007
1 parent 7c2152c commit b336c7b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/qgsmaplayer.cpp
Expand Up @@ -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();
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit b336c7b

Please sign in to comment.