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
KMail
Commits
7a77082e
Commit
7a77082e
authored
Apr 26, 2021
by
Laurent Montel
😁
Browse files
Fix compile with last kf5
parent
614a479e
Changes
1
Hide whitespace changes
Inline
Side-by-side
agents/followupreminderagent/jobs/followupremindershowmessagejob.cpp
View file @
7a77082e
...
...
@@ -6,7 +6,6 @@
#include "followupremindershowmessagejob.h"
#include "followupreminderagent_debug.h"
#include <KToolInvocation>
#include <QDBusConnection>
#include <QDBusConnectionInterface>
#include <QDBusInterface>
...
...
@@ -30,7 +29,7 @@ void FollowUpReminderShowMessageJob::start()
if
(
!
QDBusConnection
::
sessionBus
().
interface
()
->
isServiceRegistered
(
kmailInterface
))
{
// Program is not already running, so start it
QString
errmsg
;
if
(
KToolInvocation
::
startServiceByDesktopNam
e
(
QStringLiteral
(
"org.kde.kmail2"
)
,
QString
(),
&
errmsg
))
{
if
(
!
QDBusConnection
::
sessionBus
().
interface
()
->
startServic
e
(
QStringLiteral
(
"org.kde.kmail2"
)
).
isValid
(
))
{
qCDebug
(
FOLLOWUPREMINDERAGENT_LOG
)
<<
" Can not start kmail"
<<
errmsg
;
deleteLater
();
return
;
...
...
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