aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-03-11 23:15:24 +0100
committerdec05eba <dec05eba@protonmail.com>2023-03-11 23:15:24 +0100
commit30c93d5de455c494c7be3a37571cfcd9688560fe (patch)
tree2d8fb4b1efef6d72dc3a5256e3d451dec37a22d5 /src
parent118ea78d95a82d9f943180c8f976befc5d2dc97e (diff)
Better message for open url
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 5bdbdb1..f91ef7e 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -6714,7 +6714,7 @@ namespace QuickMedia {
url_selection_body.clear_items();
for(const std::string &url : urls) {
- auto body_item = BodyItem::create(url);
+ auto body_item = BodyItem::create("Open " + url + " in a browser");
body_item->url = url;
url_selection_body.append_item(std::move(body_item));
}
@@ -7306,7 +7306,7 @@ namespace QuickMedia {
if(task_result == TaskResult::TRUE)
show_notification("QuickMedia", "You joined " + selected_item->url, Urgency::NORMAL);
} else {
- launch_url(selected_item->get_title());
+ launch_url(selected_item->url);
}
}
} else if(event.type == mgl::Event::KeyPressed && chat_state == ChatState::REPLYING) {