Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Runtime
Commits
bef19168
Commit
bef19168
authored
Apr 26, 2021
by
Laurent Montel
😁
Browse files
Make it compile with last kf5 version
parent
81d61a98
Pipeline
#59778
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
agents/newmailnotifier/newmailnotifiershowmessagejob.cpp
View file @
bef19168
...
...
@@ -35,8 +35,8 @@ void NewMailNotifierShowMessageJob::start()
if
(
!
reply
.
isValid
()
||
!
reply
.
value
())
{
// Program is not already running, so start it
QString
errmsg
;
if
(
KToolInvocation
::
startServiceByDesktopNam
e
(
QStringLiteral
(
"org.kde.kmail2"
)
,
QString
(),
&
errmsg
))
{
qCDebug
(
NEWMAILNOTIFIER_LOG
)
<<
" Can not start kmail"
<<
errmsg
;
if
(
!
QDBusConnection
::
sessionBus
().
interface
()
->
startServic
e
(
QStringLiteral
(
"org.kde.kmail2"
)
).
isValid
(
))
{
qCDebug
(
NEWMAILNOTIFIER_LOG
)
<<
" Can not start kmail"
;
setError
(
UserDefinedError
);
setErrorText
(
i18n
(
"Unable to start KMail application."
));
emitResult
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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