Commit 20e01066 authored by David Jarvie's avatar David Jarvie

Bug 300083: Warn user clearly when Akonadi fails to run

Make it clear to the user, and prevent KAlarm being used, if Akonadi
has failed to run.
parent 87f74921
......@@ -54,6 +54,7 @@
#ifdef USE_AKONADI
#include <kcalcore/memorycalendar.h>
#include <kcalutils/icaldrag.h>
#include <akonadi/control.h>
using namespace KCalCore;
using namespace KCalUtils;
#else
......@@ -173,6 +174,7 @@ MainWindow::MainWindow(bool restored)
// Create the calendar resource selector widget
#ifdef USE_AKONADI
Akonadi::Control::widgetNeedsAkonadi(this);
mResourceSelector = new ResourceSelector(mSplitter);
#else
AlarmResources* resources = AlarmResources::instance();
......
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