mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:37:36 +00:00
LibDesktop: Return the correct value in OpenUrl
This patch fixes a tiny issue where the result of open_url would always be true, since handle(OpenUrl) returns the message instead of the result.
This commit is contained in:
parent
358694567f
commit
21efd96c64
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ private:
|
||||||
bool Launcher::open(const URL& url)
|
bool Launcher::open(const URL& url)
|
||||||
{
|
{
|
||||||
auto connection = LaunchServerConnection::construct();
|
auto connection = LaunchServerConnection::construct();
|
||||||
return connection->send_sync<Messages::LaunchServer::OpenUrl>(url.to_string());
|
return connection->send_sync<Messages::LaunchServer::OpenUrl>(url.to_string())->response();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue