summaryrefslogtreecommitdiffstats
path: root/torrentwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'torrentwidget.cpp')
-rw-r--r--torrentwidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/torrentwidget.cpp b/torrentwidget.cpp
index bb392d0..28a86c1 100644
--- a/torrentwidget.cpp
+++ b/torrentwidget.cpp
@@ -159,6 +159,9 @@ void TorrentWidget::gatherData(){
for(int i = 0; i < ColumnCount; ++i){
QStandardItem *item = new QStandardItem;
item->setEditable(false);
+ if(i == CreatedColumn){
+ item->setFont(QFont("courier new"));
+ }
fData << item;
}
int result = 0;
@@ -170,6 +173,7 @@ void TorrentWidget::gatherData(){
fData[NameColumn]->setText(fi.fileName());
fData[NameColumn]->setData(fi.absoluteFilePath(), FullPathRole);
fData[CreatedColumn]->setText(fi.created().toString(Qt::RFC2822Date));
+ fData[CreatedColumn]->setData(fi.created(), CreatedRole);
if(result){
fData[IconColumn]->setIcon(QIcon(":/huge_bra.png"));
fData[IconColumn]->setData(Present, PresentRole);