summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-11-20 15:22:01 +0100
committerLinus Groh <mail@linusgroh.de>2021-11-21 11:49:06 +0000
commitf22c0ffe0c5318e87a68142add4bd981baf5b13d (patch)
treec447995dac892144559ebccd8a9c7a6cccaf937a /Userland/Applications/Browser
parent06f140a025dd24d268ea798474813ad4daa49b37 (diff)
downloadserenity-f22c0ffe0c5318e87a68142add4bd981baf5b13d.zip
LibGUI+Everywhere: Make sync requests to Clipboard server more obvious
Diffstat (limited to 'Userland/Applications/Browser')
-rw-r--r--Userland/Applications/Browser/Tab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp
index 7fbae4a550..2463a7e21d 100644
--- a/Userland/Applications/Browser/Tab.cpp
+++ b/Userland/Applications/Browser/Tab.cpp
@@ -136,7 +136,7 @@ Tab::Tab(BrowserWindow& window)
};
m_location_box->add_custom_context_menu_action(GUI::Action::create("Paste && Go", [this](auto&) {
- auto [data, mime_type, _] = GUI::Clipboard::the().data_and_type();
+ auto [data, mime_type, _] = GUI::Clipboard::the().fetch_data_and_type();
if (!mime_type.starts_with("text/"))
return;
auto const& paste_text = data;