mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Fix some windows build warnings
This commit is contained in:
parent
5f2b78e755
commit
efbc089a09
@ -165,7 +165,7 @@ void QgsSnapToGridCanvasItem::updateZoomFactor()
|
||||
else
|
||||
mAvailableByZoomFactor = false;
|
||||
}
|
||||
catch ( QgsCsException &e )
|
||||
catch ( QgsCsException & )
|
||||
{
|
||||
// transform errors?
|
||||
// you've probably got worse problems than the grid with your digitizing operations in the current projection.
|
||||
|
@ -483,7 +483,7 @@ void QgsWmsProvider::setQueryItem( QUrl &url, const QString &item, const QString
|
||||
{
|
||||
url.removeQueryItem( item );
|
||||
if ( value.isNull() )
|
||||
url.addQueryItem( item, QStringLiteral( "" ) ); // skip-keyword-check
|
||||
url.addQueryItem( item, "" );
|
||||
else
|
||||
url.addQueryItem( item, value );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user