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 MailCommon
Commits
cd9baa78
Commit
cd9baa78
authored
Jul 25, 2022
by
Marius Pa
Committed by
Laurent Montel
Jul 28, 2022
Browse files
KMessageBox::sorry is deprecated
parent
14ade9a1
Pipeline
#210014
passed with stage
in 7 minutes and 23 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/job/backupjob.cpp
View file @
cd9baa78
...
...
@@ -152,7 +152,7 @@ void BackupJob::abort(const QString &errorMessage)
text
+=
QLatin1Char
(
'\n'
)
+
errorMessage
;
Q_EMIT
error
(
text
);
if
(
mDisplayMessageBox
)
{
KMessageBox
::
sorry
(
mParentWidget
,
text
,
i18n
(
"Archiving failed"
));
KMessageBox
::
error
(
mParentWidget
,
text
,
i18n
(
"Archiving failed"
));
}
deleteLater
();
// Clean up archive file here?
...
...
src/widgets/redirectdialog.cpp
View file @
cd9baa78
...
...
@@ -205,7 +205,7 @@ void RedirectDialog::accept()
{
const
QString
editTo
=
d
->
mEditTo
->
resend
();
if
(
editTo
.
isEmpty
())
{
KMessageBox
::
sorry
(
this
,
i18n
(
"You cannot redirect the message without an address."
),
i18n
(
"Empty Redirection Address"
));
KMessageBox
::
error
(
this
,
i18n
(
"You cannot redirect the message without an address."
),
i18n
(
"Empty Redirection Address"
));
}
else
{
done
(
QDialog
::
Accepted
);
}
...
...
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