fixed compilation for ubuntu 12.04

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7485 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-08-07 12:52:15 +00:00
parent f60b37a213
commit 9f1f08b332

View File

@ -99,7 +99,7 @@ void GxsChannelFilesWidget::addFiles(const RsGxsChannelPost &post, bool related)
treeItem->setText(COLUMN_FILENAME, QString::fromUtf8(file.mName.c_str()));
treeItem->setText(COLUMN_SIZE, misc::friendlyUnit(file.mSize));
treeItem->setData(COLUMN_SIZE, ROLE_SORT, file.mSize);
treeItem->setData(COLUMN_SIZE, ROLE_SORT, (qulonglong)file.mSize);
treeItem->setText(COLUMN_TITLE, QString::fromUtf8(post.mMeta.mMsgName.c_str()));
treeItem->setText(COLUMN_PUBLISHED, DateTime::formatDateTime(post.mMeta.mPublishTs));
treeItem->setData(COLUMN_PUBLISHED, ROLE_SORT, QDateTime::fromTime_t(post.mMeta.mPublishTs));