let QUrl do its automatic percent encoding for address lookup

This commit is contained in:
Stephen Birarda 2014-06-12 16:03:18 -07:00
parent d689c6b39f
commit 3e50443ea1

View file

@ -78,7 +78,6 @@ void LocationManager::goTo(QString destination) {
_userData = QJsonObject();
_placeData = QJsonObject();
destination = QString(QUrl::toPercentEncoding(destination));
JSONCallbackParameters callbackParams;
callbackParams.jsonCallbackReceiver = this;
callbackParams.jsonCallbackMethod = "goToUserFromResponse";