The handling also needed to be updated to handle domains correctly - just routing to goToURL instead of gTo fixes this.
Showing the changes to interface/src/Menu.cpp (1 of 2 files). Show all
Unified · Split
| @@ -984,9 +984,7 @@ void Menu::goToUser(const QString& user) { · 983 unmodified lines | ||
| 984 | 984 | /// Open a url, shortcutting any "hifi" scheme URLs to the local application. |
| 985 | 985 | void Menu::openUrl(const QUrl& url) { |
| 986 | 986 | if (url.scheme() == "hifi") { |
| 987 | − QString path = url.toString(QUrl::RemoveScheme); | |
| 988 | − path = path.remove(QRegExp("^:?/*")); | |
| 989 | − goTo(path); | |
| 987 | + goToURL(url.toString()); | |
| 990 | 988 | } else { |
| 991 | 989 | QDesktopServices::openUrl(url); |
| 992 | 990 | } |