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
Akonadi
Commits
b8d1207e
Commit
b8d1207e
authored
Jul 28, 2022
by
Laurent Montel
Browse files
KMessageBox::sorry is deprecated in kf5.97
parent
425666ba
Pipeline
#210029
passed with stage
in 18 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/widgets/subscriptiondialog.cpp
View file @
b8d1207e
...
...
@@ -90,7 +90,7 @@ public:
QObject
::
connect
(
job
,
&
SubscriptionJob
::
result
,
q
,
[
this
](
KJob
*
job
)
{
if
(
job
->
error
())
{
qCWarning
(
AKONADIWIDGETS_LOG
)
<<
job
->
errorString
();
KMessageBox
::
sorry
(
q
,
i18n
(
"Failed to update subscription: %1"
,
job
->
errorString
()),
i18nc
(
"@title"
,
"Subscription Error"
));
KMessageBox
::
error
(
q
,
i18n
(
"Failed to update subscription: %1"
,
job
->
errorString
()),
i18nc
(
"@title"
,
"Subscription Error"
));
q
->
reject
();
}
q
->
accept
();
...
...
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