Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
2ba2bca0
Commit
2ba2bca0
authored
Feb 23, 2021
by
Laurent Montel
Browse files
Fix Bug 430678 - Allow to only enable specific external images
BUG: 430678
(now all is implemented) FIXED-IN: 5.17.0
parent
7e6ee4c0
Pipeline
#51932
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
messageviewer/src/remote-content/remotecontentmenu.cpp
View file @
2ba2bca0
...
...
@@ -5,7 +5,9 @@
*/
#include
"remotecontentmenu.h"
#include
"remote-content/remotecontentmanager.h"
#include
"remotecontentconfiguredialog.h"
#include
"remotecontentinfo.h"
#include
<KLocalizedString>
#include
<QAction>
#include
<QDebug>
...
...
@@ -65,7 +67,10 @@ void RemoteContentMenu::updateMenu()
void
RemoteContentMenu
::
authorize
(
const
QString
&
url
)
{
// TODO
RemoteContentInfo
info
;
info
.
setUrl
(
url
);
info
.
setStatus
(
RemoteContentInfo
::
RemoteContentInfoStatus
::
Authorized
);
RemoteContentManager
::
self
()
->
addRemoteContent
(
info
);
}
void
RemoteContentMenu
::
clearUrls
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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