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 Calendar Support
Commits
a8480e6d
Commit
a8480e6d
authored
Jul 28, 2022
by
Laurent Montel
Browse files
KMessageBox::sorry is deprecated in kf5.97
parent
043f73c6
Pipeline
#210017
passed with stage
in 4 minutes and 58 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/archivedialog.cpp
View file @
a8480e6d
...
...
@@ -239,7 +239,7 @@ void ArchiveDialog::slotUser1()
// Get destination URL
QUrl
destUrl
(
mArchiveFile
->
url
());
if
(
!
destUrl
.
isValid
())
{
KMessageBox
::
sorry
(
this
,
i18nc
(
"@info"
,
"The archive file name is not valid."
));
KMessageBox
::
error
(
this
,
i18nc
(
"@info"
,
"The archive file name is not valid."
));
return
;
}
// Force filename to be ending with vCalendar extension
...
...
src/attachmenthandler.cpp
View file @
a8480e6d
...
...
@@ -100,7 +100,7 @@ Attachment AttachmentHandler::find(const QString &attachmentName, const Incidenc
KJobWidgets
::
setWindow
(
job
,
d
->
mParent
);
if
(
!
job
->
exec
())
{
KMessageBox
::
sorry
(
KMessageBox
::
error
(
d
->
mParent
,
i18n
(
"The attachment
\"
%1
\"
is a web link that is inaccessible from this computer. "
,
QUrl
::
fromPercentEncoding
(
a
.
uri
().
toLatin1
())));
return
Attachment
();
...
...
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