SVN commit 906774 by tmcguire: Don't get stuck when viewing incidences. M +8 -0 main.cpp --- trunk/KDE/kdepim/akonadi/clients/akonadiconsole/main.cpp #906773:906774 @@ -23,6 +23,8 @@ #include #include +#include + #include "mainwindow.h" int main( int argc, char **argv ) @@ -45,5 +47,11 @@ MainWindow *window = new MainWindow; window->show(); + // ### HACK HACK HACK + // Load the addressbook now, since loading the addressbook with Akonadi resources uses + // subeventloops, which have great potential to mess things up (for example akonadiconsole + // would cease to load items after viewing a calendar item which has attendees). + KABC::StdAddressBook::self(); + return app.exec(); }