Commit 77f636fd authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[imgur] Show deletion url in notification

This allows users to undo the upload

BUG: 394181
BUG: 441566
parent e0642ac5
Pipeline #109573 passed with stage
in 51 seconds
......@@ -145,7 +145,10 @@ public:
QGuiApplication::clipboard()->setText(url);
KNotification::event(KNotification::Notification,
i18n("Imgur Upload"),
i18n("The shared image link (<a href=\"%1\">%1</a>) has been copied to the clipboard.", finalUrl),
i18n("The shared image link (<a href=\"%1\">%1</a>) has been copied to the clipboard.<br><br>If you would like to remove "
"the uploaded image visit <a href=\"%2\">%2</a>",
finalUrl,
deleteUrl),
nullptr,
KNotification::Persistent);
......
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