Commit 49365857 authored by ValdikSS ValdikSS's avatar ValdikSS ValdikSS Committed by Nate Graham
Browse files

Fix Klipper Actions content truncation

Commit f9669af2 introduced a regression with Klipper Actions: it used
truncated text as a source for the action, which resulted in truncated
output.

BUG: 444365
parent 2db375f6
Pipeline #105724 passed with stage
in 4 minutes and 43 seconds
...@@ -245,7 +245,7 @@ void URLGrabber::execute(const ClipAction *action, int cmdIdx) const ...@@ -245,7 +245,7 @@ void URLGrabber::execute(const ClipAction *action, int cmdIdx) const
ClipCommand command = action->command(cmdIdx); ClipCommand command = action->command(cmdIdx);
if (command.isEnabled) { if (command.isEnabled) {
QString text(m_myClipItem->text()); QString text(m_myClipItem->mimeData()->text());
if (m_stripWhiteSpace) { if (m_stripWhiteSpace) {
text = text.trimmed(); text = text.trimmed();
} }
......
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