Make the "fileModified" and "fileAccessed" roles return times as
a QDateTime, and not as an already formatted string.
Change-Id: I1c114477a31e65007ad7bac87b11cb8b0dc7de01
Reviewed-by: Alan Alpert <aalpert@rim.com>
rv = d->data.at(index.row()).size();
break;
case FileLastModifiedRole:
- rv = d->data.at(index.row()).lastModified().date().toString(Qt::ISODate) + " " + d->data.at(index.row()).lastModified().time().toString();
+ rv = d->data.at(index.row()).lastModified();
break;
case FileLastReadRole:
- rv = d->data.at(index.row()).lastRead().date().toString(Qt::ISODate) + " " + d->data.at(index.row()).lastRead().time().toString();
+ rv = d->data.at(index.row()).lastRead();
break;
case FileIsDirRole:
rv = d->data.at(index.row()).isDir();