Alarm dbus connection added
authorhanzes <hanzes@localhost>
Mon, 1 Feb 2010 15:47:00 +0000 (15:47 +0000)
committerhanzes <hanzes@localhost>
Mon, 1 Feb 2010 15:47:00 +0000 (15:47 +0000)
src/mvc/treeview.cpp

index f0d8aab..5fd63ee 100644 (file)
@@ -97,8 +97,8 @@ bool TreeView::testForControlClicked(const QModelIndex &aIndex, const QPoint &aP
 #ifdef MAEMO
                     // add alarm to the 'alarmd'
                     Alarm alarm;
-                    int cookie = alarm.addAlarm(event.id(),QDateTime::currentDateTime().addSecs(10)); // testing
-                    //int cookie = alarm.addAlarm(event.id(),event.start().addSecs(-15*60)); // 15 minutes before real start
+                    //int cookie = alarm.addAlarm(event.id(),QDateTime::currentDateTime().addSecs(10)); // testing
+                    int cookie = alarm.addAlarm(event.id(),event.start().addSecs(-15*60)); // 15 minutes before real start
                     qDebug() << "cookie: " << cookie;
 #endif /* MAEMO */
                 }