Skip to content

Commit

Permalink
Changed use of Q3Url to QUrl
Browse files Browse the repository at this point in the history
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.
11 changes: 4 additions & 7 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -29,7 +29,7 @@

#include "qgshttptransaction.h"

#include <Q3Url>
#include <QUrl>


#ifdef QGISDEBUG
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 7e7985d

Please sign in to comment.