Ignore:
Timestamp:
01/13/10 22:59:20 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
92995da
Parents:
969a840
Message:

minor fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/model/conference.h

    r969a840 r6a624f7  
    2424    QString venue() const { return value("venue").toString(); }
    2525    QString city() const { return value("city").toString(); }
    26     // TODO: there is some problem with converting "Time_t" to QDateTime: had to manually add 1 day
    27     // NEEDS TO BE FIXED
    28     QDate start() const { return value("start").toDateTime().addDays(1).date(); }
    29     QDate end() const { return value("end").toDateTime().addDays(1).date(); }
    30     //
     26    QDate start() const { return value("start").toDate(); }
     27    QDate end() const { return value("end").toDate(); }
    3128    int days() const { return value("days").toInt(); }
    3229    int dayChange() const { return value("day_change").toInt(); } // in seconds from 00:00
Note: See TracChangeset for help on using the changeset viewer.