mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Remove overly verbose logging for old style loading
This commit is contained in:
parent
909910e1b6
commit
e15c7fb96c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user