mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05:00
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:
parent
f60b37a213
commit
9f1f08b332
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user