~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging

« back to all changes in this revision

Viewing changes to backend/modules/Timezone/timezonemodel.cpp

  • Committer: Nekhelesh Ramananthan
  • Date: 2014-07-26 09:34:15 UTC
  • mto: (37.1.1 reboot)
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: krnekhelesh@gmail.com-20140726093415-67r3x357o0fnq08n
Initial working version

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    QDateTime worldCityTime(QDateTime::currentDateTime().toTimeZone(zone));
69
69
    QDateTime localCityTime(QDateTime::currentDateTime());
70
70
 
 
71
    qDebug() << localCityTime.offsetFromUtc()- worldCityTime.offsetFromUtc();
 
72
 
71
73
    switch (role) {
72
74
    case RoleCityName:
73
75
        return m_timeZones.at(row).cityName;