Commit 2db375f6 authored by David Edmundson's avatar David Edmundson Committed by Nate Graham
Browse files

[klipper] Use full text for DBus return values

In a recent commit HistoryItem::text() became the visual representation
of the mimedata; often a truncated string.

mimeData()->text() always returns the full value.

BUG: 446441
parent a733a1bf
Pipeline #105686 passed with stage
in 6 minutes and 31 seconds
......@@ -837,7 +837,7 @@ QString Klipper::getClipboardHistoryItem(int i)
if (item) {
do {
if (i-- == 0) {
return item->text();
return item->mimeData()->text();
}
item = history()->find(item->next_uuid());
} while (item != history()->first());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment