mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Return QByteArrays instead of 0's.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5238 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
72ec5c0cbf
commit
07a9b64d1b
@ -732,7 +732,7 @@ QByteArray QgsWmsProvider::retrieveUrl(QString url)
|
||||
|
||||
mError += "\n" + tr("Tried URL: ") + url;
|
||||
|
||||
return 0;
|
||||
return QByteArray("");
|
||||
}
|
||||
|
||||
if (http.responseContentType() == "application/vnd.ogc.se_xml")
|
||||
@ -756,7 +756,7 @@ QByteArray QgsWmsProvider::retrieveUrl(QString url)
|
||||
<< mError.toLocal8Bit().data() << "'." << std::endl;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
return QByteArray("");
|
||||
}
|
||||
|
||||
return httpResponse;
|
||||
|
Loading…
x
Reference in New Issue
Block a user