From d6c686e8bf7199a446a992aa972cb0db448ed9a8 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sat, 20 Nov 2021 15:57:08 +0100 Subject: ClipboardHistory: Properly display bitmap depth --- Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp b/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp index 1fed645cc5..b4c9c53318 100644 --- a/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp +++ b/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp @@ -77,7 +77,7 @@ GUI::Variant ClipboardHistoryModel::data(const GUI::ModelIndex& index, GUI::Mode builder.append('x'); builder.append(data_and_type.metadata.get("height").value_or("?")); builder.append('x'); - builder.append(bpp_for_format_resilient(data_and_type.metadata.get("height").value_or("0"))); + builder.append(bpp_for_format_resilient(data_and_type.metadata.get("format").value_or("0"))); builder.append(" bitmap"); builder.append("]"); return builder.to_string(); -- cgit v1.2.3