Navigation Menu

Skip to content

Commit

Permalink
Remove overly verbose logging for old style loading
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Jan 29, 2016
1 parent 909910e commit e15c7fb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/core/qgsmaplayer.cpp
Expand Up @@ -1187,15 +1187,8 @@ bool QgsMapLayer::importNamedStyle( QDomDocument& myDocument, QString& myErrorMe

if ( thisVersion > fileVersion )
{
QgsLogger::warning( "Loading a style file that was saved with an older "
"version of qgis (saved in " + fileVersion.text() +
", loaded in " + QGis::QGIS_VERSION +
"). Problems may occur." );

QgsProjectFileTransform styleFile( myDocument, fileVersion );
// styleFile.dump();
styleFile.updateRevision( thisVersion );
// styleFile.dump();
}

//Test for matching geometry type on vector layers when applying, if geometry type is given in the style
Expand Down

0 comments on commit e15c7fb

Please sign in to comment.