Skip to content
Permalink
Browse files
Changed use of Q3Url to QUrl
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5917 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Oct 6, 2006
1 parent 6eb975b commit 7e7985d
Showing 1 changed file with 4 additions and 7 deletions.
@@ -29,7 +29,7 @@

#include "qgshttptransaction.h"

#include <Q3Url>
#include <QUrl>


#ifdef QGISDEBUG
@@ -426,11 +426,9 @@ QImage* QgsWmsProvider::draw(QgsRect const & viewExtent, int pixelWidth, int pi
#endif


QString layers = visibleLayers.join(",");
Q3Url::encode( layers );
QString layers = QUrl::toPercentEncoding(visibleLayers.join(","));

QString styles = visibleStyles.join(",");
Q3Url::encode( styles );
QString styles = QUrl::toPercentEncoding(visibleStyles.join(","));


// compose the URL query string for the WMS server.
@@ -2352,8 +2350,7 @@ QString QgsWmsProvider::identifyAsText(const QgsPoint& point)
}
}

QString layers = queryableLayers.join(",");
Q3Url::encode( layers );
QString layers = QUrl::toPercentEncoding(queryableLayers.join(","));

// Compose request to WMS server

0 comments on commit 7e7985d

Please sign in to comment.