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 f0d8aab68d5498eec8266e663c1b6446466978eb..5fd63ee091a183305c2c6d2a6cc54b4e6642076e 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 */
                 }