Diffstat (limited to 'core/pim/datebook/datebook.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebook.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp index 2deb96f..97c305c 100644 --- a/core/pim/datebook/datebook.cpp +++ b/core/pim/datebook/datebook.cpp @@ -212,2 +212,3 @@ DateBook::DateBook( QWidget *parent, const char *, WFlags f ) this, SLOT(receive(const QCString&, const QByteArray&)) ); + qDebug("olle\n"); #endif @@ -232,8 +233,6 @@ void DateBook::receive( const QCString &msg, const QByteArray &data ) else if (msg == "editEvent(int)") { - /* Not yet working... - int uid; - stream >> uid; - Event e=db->getEvent(uid); - editEvent(e); - */ + int uid; + stream >> uid; + Event e=db->getEvent(uid); + editEvent(e); } @@ -403,2 +402,3 @@ void DateBook::editEvent( const Event &e ) Event newEv = entry->event(); + newEv.setUid(e.uid()); // FIXME: Hack not to clear uid QString error = checkEvent(newEv); |