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
KMail
Commits
1a48bcfd
Commit
1a48bcfd
authored
Aug 29, 2022
by
Laurent Montel
Browse files
Add warning when we can store data
parent
34412667
Pipeline
#224451
passed with stage
in 4 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kontactplugin/kmail/kmail_plugin.cpp
View file @
1a48bcfd
...
...
@@ -88,7 +88,10 @@ void KMailPlugin::processDropEvent(QDropEvent *de)
tmp
.
setAutoRemove
(
false
);
tmp
.
open
();
FileStorage
storage
(
cal
,
tmp
.
fileName
());
storage
.
save
();
if
(
!
storage
.
save
())
{
qCWarning
(
KMAILPLUGIN_LOG
)
<<
" Impossible to save data in filestorage"
;
return
;
}
openComposer
(
QUrl
::
fromLocalFile
(
tmp
.
fileName
()));
}
else
if
(
KContacts
::
VCardDrag
::
fromMimeData
(
md
,
list
))
{
QStringList
to
;
...
...
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