Skip to content

Commit dca0021

Browse files
author
g_j_m
committed
Return QByteArrays instead of 0's.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5238 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2df3139 commit dca0021

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/providers/wms/qgswmsprovider.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ QByteArray QgsWmsProvider::retrieveUrl(QString url)
732732

733733
mError += "\n" + tr("Tried URL: ") + url;
734734

735-
return 0;
735+
return QByteArray("");
736736
}
737737

738738
if (http.responseContentType() == "application/vnd.ogc.se_xml")
@@ -756,7 +756,7 @@ QByteArray QgsWmsProvider::retrieveUrl(QString url)
756756
<< mError.toLocal8Bit().data() << "'." << std::endl;
757757
#endif
758758

759-
return 0;
759+
return QByteArray("");
760760
}
761761

762762
return httpResponse;

0 commit comments

Comments
 (0)