From f15f03376b58eb24a978330e8e1a0e0b431f463c Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Mon, 10 May 2021 19:03:55 +0300 Subject: [PATCH] LibGUI: Add Clipboard::clear() Does exactly what it says on the tin :^) --- Userland/Libraries/LibGUI/Clipboard.cpp | 5 +++++ Userland/Libraries/LibGUI/Clipboard.h | 1 + 2 files changed, 6 insertions(+) diff --git a/Userland/Libraries/LibGUI/Clipboard.cpp b/Userland/Libraries/LibGUI/Clipboard.cpp index d1f51b7794d..844f7adaf17 100644 --- a/Userland/Libraries/LibGUI/Clipboard.cpp +++ b/Userland/Libraries/LibGUI/Clipboard.cpp @@ -78,6 +78,11 @@ void Clipboard::set_data(ReadonlyBytes data, const String& type, const HashMap& metadata = {}); + void clear(); void set_plain_text(const String& text) {