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 | QFileOpenEvent* fileEvent = static_cast<QFileOpenEvent*>(event); | 814 | QFileOpenEvent* fileEvent = static_cast<QFileOpenEvent*>(event); |
| 815 | bool isHifiSchemeURL = !fileEvent->url().isEmpty() && fileEvent->url().toLocalFile().startsWith(CUSTOM_URL_SCHEME); | 815 | bool isHifiSchemeURL = !fileEvent->url().isEmpty() && fileEvent->url().toLocalFile().startsWith(CUSTOM_URL_SCHEME); |
| 816 | if (isHifiSchemeURL) { | 816 | if (isHifiSchemeURL) { |
| 817 | Menu::getInstance()->goTo(fileEvent->url().toString()); | 817 | Menu::getInstance()->goToURL(fileEvent->url().toLocalFile()); |
| 818 | } | 818 | } |
| 819 | |||
| 820 | return false; | 819 | return false; |
| 821 | } | 820 | } |
| 822 | return QApplication::event(event); | 821 | return QApplication::event(event); |