trim whitespace for place name lookup

This commit is contained in:
Stephen Birarda 2014-11-20 09:24:43 -08:00
parent 2c6a76ec17
commit 1aa98dfc4c

View file

@ -131,7 +131,7 @@ bool AddressManager::handleUrl(const QUrl& lookupUrl) {
void AddressManager::handleLookupString(const QString& lookupString) {
if (!lookupString.isEmpty()) {
// make this a valid hifi URL and handle it off to handleUrl
QString sanitizedString = lookupString;
QString sanitizedString = lookupString.trimmed();
QUrl lookupURL;
if (!lookupString.startsWith('/')) {