Ticket #3478: mythtv-3478-null_originalairdate.patch
File mythtv-3478-null_originalairdate.patch, 709 bytes (added by , 17 years ago) |
---|
-
libs/libmythtv/programinfo.cpp
355 355 #define ENUM_FROM_LIST(x, y) NEXT_STR() (x) = (y)atoi(ts.ascii()); 356 356 357 357 #define DATETIME_FROM_LIST(x) NEXT_STR() (x).setTime_t((uint)atoi(ts.ascii())); 358 #define DATE_FROM_LIST(x) NEXT_STR() (x) = QDate::fromString(ts, Qt::ISODate)358 #define DATE_FROM_LIST(x) NEXT_STR() (x) = (ts.isEmpty()) ? QDate() : QDate::fromString(ts, Qt::ISODate) 359 359 360 360 #define LONGLONG_FROM_LIST(x) INT_FROM_LIST(ti); NEXT_STR() \ 361 361 (x) = ((long long)(ti) << 32) | \