Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
DELETE ME - temporary debug
Loading branch information
@@ -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 );
Toggle all file notes