Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Frameworks
Purpose framework
Commits
77f636fd
Commit
77f636fd
authored
Aug 27, 2021
by
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
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/imgur/imgurplugin.cpp
View file @
77f636fd
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment