Skip to content

Commit e15c7fb

Browse files
committed
Remove overly verbose logging for old style loading
1 parent 909910e commit e15c7fb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/core/qgsmaplayer.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -1187,15 +1187,8 @@ bool QgsMapLayer::importNamedStyle( QDomDocument& myDocument, QString& myErrorMe
11871187

11881188
if ( thisVersion > fileVersion )
11891189
{
1190-
QgsLogger::warning( "Loading a style file that was saved with an older "
1191-
"version of qgis (saved in " + fileVersion.text() +
1192-
", loaded in " + QGis::QGIS_VERSION +
1193-
"). Problems may occur." );
1194-
11951190
QgsProjectFileTransform styleFile( myDocument, fileVersion );
1196-
// styleFile.dump();
11971191
styleFile.updateRevision( thisVersion );
1198-
// styleFile.dump();
11991192
}
12001193

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

0 commit comments

Comments
 (0)