summaryrefslogtreecommitdiff
path: root/src/downloadlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/downloadlist.cpp')
-rw-r--r--src/downloadlist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/downloadlist.cpp b/src/downloadlist.cpp
index 305aee91..9ab48013 100644
--- a/src/downloadlist.cpp
+++ b/src/downloadlist.cpp
@@ -60,8 +60,8 @@ QVariant DownloadList::headerData(int section, Qt::Orientation orientation, int
if ((role == Qt::DisplayRole) &&
(orientation == Qt::Horizontal)) {
switch (section) {
- case 0: return tr("Name");
- case 1: return tr("Filetime");
+ case COL_NAME: return tr("Name");
+ case COL_FILETIME: return tr("Filetime");
default: return tr("Done");
}
} else {