Skip to content
Permalink
Browse files

Merge pull request #2734 from timlinux/master

Remove overly verbose logging for old style loading
  • Loading branch information
timlinux committed Jan 29, 2016
2 parents 70d5c1b + e15c7fb commit d921f48b720b927c4b0037f532638b57d8da47b1
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/core/qgsmaplayer.cpp
@@ -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

0 comments on commit d921f48

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