Skip to content
Permalink
Browse files

DELETE ME - temporary debug

  • Loading branch information
m-kuhn committed Sep 27, 2017
1 parent 1eb26d8 commit 0310a7b5c89e695f9d3598d963e986f7074b4d34
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/providers/wfs/qgswfsrequest.cpp
  2. +1 −1 tests/src/core/testqgscoordinatereferencesystem.cpp
@@ -68,7 +68,7 @@ bool QgsWfsRequest::sendGET( const QUrl &url, bool synchronous, bool forceRefres
QString modifiedUrlString = modifiedUrl.toString();
// Qt5 does URL encoding from some reason (of the FILTER parameter for example)
modifiedUrlString = QUrl::fromPercentEncoding( modifiedUrlString.toUtf8() );
QgsDebugMsg( QString( "Get %1" ).arg( modifiedUrlString ) );
qWarning() << QString( "Get %1" ).arg( modifiedUrlString );
modifiedUrlString = modifiedUrlString.mid( QStringLiteral( "http://" ).size() );
QString args = modifiedUrlString.mid( modifiedUrlString.indexOf( '?' ) );
if ( modifiedUrlString.size() > 256 )
@@ -97,7 +97,7 @@ bool QgsWfsRequest::sendGET( const QUrl &url, bool synchronous, bool forceRefres
}
#endif
modifiedUrlString = modifiedUrlString.mid( 0, modifiedUrlString.indexOf( '?' ) ) + args;
QgsDebugMsg( QString( "Get %1 (after laundering)" ).arg( modifiedUrlString ) );
qWarning() << QString( "Get %1 (after laundering)" ).arg( modifiedUrlString );
modifiedUrl = QUrl::fromLocalFile( modifiedUrlString );
}

@@ -745,7 +745,7 @@ void TestQgsCoordinateReferenceSystem::validSrsIds()
if ( c.isValid() )
validCount++;
else
qDebug << QStringLiteral( "QgsCoordinateReferenceSystem::fromSrsId( %1 ) is not valid (%2 of %3 IDs returned by QgsCoordinateReferenceSystem::validSrsIds())." ).arg( id ).arg( ids.indexOf( id ) ).arg( ids.length() );
qDebug() << QStringLiteral( "QgsCoordinateReferenceSystem::fromSrsId( %1 ) is not valid (%2 of %3 IDs returned by QgsCoordinateReferenceSystem::validSrsIds())." ).arg( id ).arg( ids.indexOf( id ) ).arg( ids.length() );
}

QVERIFY( validCount > ids.size() - 100 );

0 comments on commit 0310a7b

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