Showing the changes to interface/src/Application.cpp (1 of 25 files). Show all
Unified · Split
| @@ -814,9 +814,8 @@ bool Application::event(QEvent* event) { · 813 unmodified lines | ||
| 814 | 814 | QFileOpenEvent* fileEvent = static_cast<QFileOpenEvent*>(event); |
| 815 | 815 | bool isHifiSchemeURL = !fileEvent->url().isEmpty() && fileEvent->url().toLocalFile().startsWith(CUSTOM_URL_SCHEME); |
| 816 | 816 | if (isHifiSchemeURL) { |
| 817 | − Menu::getInstance()->goTo(fileEvent->url().toString()); | |
| 817 | + Menu::getInstance()->goToURL(fileEvent->url().toLocalFile()); | |
| 818 | 818 | } |
| 819 | − | |
| 820 | 819 | return false; |
| 821 | 820 | } |
| 822 | 821 | return QApplication::event(event); |