Skip to content
Permalink
Browse files
Changed use of Q3Url to QUrl
git-svn-id: http://svn.osgeo.org/qgis/trunk@5917 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Oct 6, 2006
1 parent 7affb8f commit 0ea970d5c43342f4e2c0f250748409ab8b8117f4
Showing with 4 additions and 7 deletions.
  1. +4 −7 src/providers/wms/qgswmsprovider.cpp
@@ -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 0ea970d

Please sign in to comment.