From 49e1dd23b699b499d9b715ef74cb7ca5b0189584 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sat, 31 Aug 2013 17:11:17 +0200 Subject: - mod list can now be sorted by install time - the sorting of download archives wasn't actually by index instead of file time - bugfix: some of the plugins crashed if they failed to create a mod --- src/downloadlist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/downloadlist.cpp') 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 { -- cgit v1.3.1