summaryrefslogtreecommitdiff
path: root/Userland/Applets/ClipboardHistory/main.cpp
diff options
context:
space:
mode:
authorDawid Wolosowicz <d@1823.pl>2021-04-05 13:51:49 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-05 14:30:35 +0200
commit3f73816316d46d7175c6afcf240990617040b17d (patch)
tree859f92efbf29f93eeb49ca6eccaa343bcb237271 /Userland/Applets/ClipboardHistory/main.cpp
parentf7184e967ed3ee1defe245876136f9ea84650336 (diff)
downloadserenity-3f73816316d46d7175c6afcf240990617040b17d.zip
ClipboardHistory: Make the applet use an alpha channel
Diffstat (limited to 'Userland/Applets/ClipboardHistory/main.cpp')
-rw-r--r--Userland/Applets/ClipboardHistory/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applets/ClipboardHistory/main.cpp b/Userland/Applets/ClipboardHistory/main.cpp
index 82eac5c584..8ab68a4d23 100644
--- a/Userland/Applets/ClipboardHistory/main.cpp
+++ b/Userland/Applets/ClipboardHistory/main.cpp
@@ -93,9 +93,9 @@ int main(int argc, char* argv[])
auto applet_window = GUI::Window::construct();
applet_window->set_title("ClipboardHistory");
applet_window->set_window_type(GUI::WindowType::Applet);
+ applet_window->set_has_alpha_channel(true);
auto& icon = applet_window->set_main_widget<GUI::ImageWidget>();
icon.load_from_file("/res/icons/16x16/edit-copy.png");
- icon.set_fill_with_background_color(true);
icon.on_click = [&main_window = *main_window] {
main_window.show();
main_window.move_to_front();