summaryrefslogtreecommitdiff
path: root/Libraries/LibDesktop/Launcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibDesktop/Launcher.cpp')
-rw-r--r--Libraries/LibDesktop/Launcher.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibDesktop/Launcher.cpp b/Libraries/LibDesktop/Launcher.cpp
index 43fd5a7c3b..0d35c0c618 100644
--- a/Libraries/LibDesktop/Launcher.cpp
+++ b/Libraries/LibDesktop/Launcher.cpp
@@ -48,13 +48,13 @@ private:
: IPC::ServerConnection<LaunchClientEndpoint, LaunchServerEndpoint>(*this, "/tmp/portal/launch")
{
}
- virtual void handle(const Messages::LaunchClient::Dummy&) override { }
+ virtual void handle(const Messages::LaunchClient::Dummy&) override {}
};
-bool Launcher::open(const URL& url)
+bool Launcher::open(const URL& url, const String& handler_name)
{
auto connection = LaunchServerConnection::construct();
- return connection->send_sync<Messages::LaunchServer::OpenUrl>(url.to_string())->response();
+ return connection->send_sync<Messages::LaunchServer::OpenUrl>(url.to_string(), handler_name)->response();
}
Vector<String> Launcher::get_handlers_for_url(const URL& url)