Commit c8b8c8dd 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


(cherry picked from commit 2db375f6)
parent f3be23fe
......@@ -838,7 +838,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());
......
Markdown is supported
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