mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:24:03 +02:00
trim whitespace for place name lookup
This commit is contained in:
parent
2c6a76ec17
commit
1aa98dfc4c
1 changed files with 1 additions and 1 deletions
|
@ -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('/')) {
|
||||
|
|
Loading…
Reference in a new issue