From ce90cc8c733ac400ce948b852bdd46a537f272ca Mon Sep 17 00:00:00 2001 From: Lukas Holecek <hluk@email.cz> Date: Thu, 28 Sep 2017 07:35:56 +0200 Subject: [PATCH] itemencrypted: Copy encrypted items as hidden --- plugins/itemencrypted/itemencrypted.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/itemencrypted/itemencrypted.cpp b/plugins/itemencrypted/itemencrypted.cpp index 50c86eb8d..0e7578f3a 100644 --- a/plugins/itemencrypted/itemencrypted.cpp +++ b/plugins/itemencrypted/itemencrypted.cpp @@ -472,7 +472,10 @@ void ItemEncryptedScriptable::copyEncryptedItems() } } - call("copy", QVariantList() << text); + const auto args = QVariantList() + << mimeText << text + << mimeHidden << "1"; + call("copy", args); } QString ItemEncryptedScriptable::generateTestKeys() -- GitLab