Commit 511ff42c authored by Laurent Montel's avatar Laurent Montel 😁

Interface is not valid

svn path=/trunk/KDE/kdepim/plugins/messageviewer/; revision=1158307
parent bffd0831
......@@ -911,6 +911,8 @@ class UrlHandler : public MessageViewer::Interface::BodyPartURLHandler
OrgKdeKorganizerCalendarInterface *iface = new OrgKdeKorganizerCalendarInterface( "org.kde.korganizer", "/Calendar", QDBusConnection::sessionBus(), 0 );
if (!iface->isValid()) {
kDebug() << "Calendar interface is not valid! " << iface->lastError().message();
delete iface;
return;
}
iface->showEventView();
iface->showDate( date );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment