diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2021-11-20 15:22:01 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-11-21 11:49:06 +0000 |
commit | f22c0ffe0c5318e87a68142add4bd981baf5b13d (patch) | |
tree | c447995dac892144559ebccd8a9c7a6cccaf937a /Userland/Applications/Calculator/main.cpp | |
parent | 06f140a025dd24d268ea798474813ad4daa49b37 (diff) | |
download | serenity-f22c0ffe0c5318e87a68142add4bd981baf5b13d.zip |
LibGUI+Everywhere: Make sync requests to Clipboard server more obvious
Diffstat (limited to 'Userland/Applications/Calculator/main.cpp')
-rw-r--r-- | Userland/Applications/Calculator/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Calculator/main.cpp b/Userland/Applications/Calculator/main.cpp index d69fb3123b..bf7d34a358 100644 --- a/Userland/Applications/Calculator/main.cpp +++ b/Userland/Applications/Calculator/main.cpp @@ -58,7 +58,7 @@ int main(int argc, char** argv) GUI::Clipboard::the().set_plain_text(widget.get_entry()); })); edit_menu.add_action(GUI::CommonActions::make_paste_action([&](auto&) { - auto clipboard = GUI::Clipboard::the().data_and_type(); + auto clipboard = GUI::Clipboard::the().fetch_data_and_type(); if (clipboard.mime_type == "text/plain") { if (!clipboard.data.is_empty()) { auto data = atof(StringView(clipboard.data).to_string().characters()); |