-rw-r--r-- | core/pim/today/today.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index aef0a9b..66a4152 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -28,2 +28,3 @@ #include <qpe/global.h> +#include <qpe/qpeapplication.h> @@ -408,2 +409,5 @@ void Today::startDatebook() { */ + +extern QPEApplication *todayApp; + void Today::editEvent(const Event &e) { @@ -411,8 +415,5 @@ void Today::editEvent(const Event &e) { - //Dissabled for now as uid's not working properly - /* - while(!QCopChannel::isRegistered("QPE/Datebook")) sleep(1); + while(!QCopChannel::isRegistered("QPE/Datebook")) todayApp->processEvents(); QCopEnvelope env("QPE/Datebook", "editEvent(int)"); env << e.uid(); - */ } |