Changeset ba3fc20


Ignore:
Timestamp:
02/05/10 16:46:54 (12 years ago)
Author:
uzakmat <uzakmat@…>
Branches:
master, qt5
Children:
7270ae0
Parents:
939baeb
Message:

alarm UTC/localtime fix

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • data/maemo/fosdem-schedule.desktop

    r939baeb rba3fc20  
    11[Desktop Entry]
    22Encoding=UTF-8
    3 Version=0.3
     3Version=0.4
    44Type=Application
    55Name=FOSDEM'10
  • debian/changelog

    r939baeb rba3fc20  
    1 fosdem-schedule (0.3) stable; urgency=low
     1fosdem-schedule (0.4) stable; urgency=low
     2 
     3  * Release 0.4
     4       
     5 -- Marek Timko <marek.timko@ixonos.com>  Tue, 5 Feb 2010 16:40:26 +0100
    26
    37  * Release 0.3
  • src/alarm/alarm.cpp

    r939baeb rba3fc20  
    4444    /* Use absolute time triggering */
    4545    //eve->alarm_time = time(0) + 5; // for testing (5 seconds from now)
    46     eve->alarm_time = aDateTime.toTime_t();
     46    QDateTime local( aDateTime);
     47    qDebug() << "UTC: " << local.toTime_t();
     48    local.setTimeSpec(Qt::LocalTime);
     49    qDebug() << "LocalTime: " << local.toTime_t();
     50   
     51    eve->alarm_time = local.toTime_t();
    4752    eve->flags = ALARM_EVENT_BOOT;
    4853
  • src/gui/about.ui

    r939baeb rba3fc20  
    188188               <widget class="QLabel" name="label_2" >
    189189                <property name="text" >
    190                  <string>Version 0.3</string>
     190                 <string>Version 0.4</string>
    191191                </property>
    192192               </widget>
Note: See TracChangeset for help on using the changeset viewer.