summaryrefslogtreecommitdiff
path: root/src/modlist.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-11-18 20:17:14 +0100
committerTannin <devnull@localhost>2013-11-18 20:17:14 +0100
commitc6101e34e1e142a3442c3a4543ea22dabd31fa33 (patch)
tree0e737a47f5cec0afac715ae7f6e5fd1e5fb108b9 /src/modlist.cpp
parent75475a7984466afd1cf77f2e4a9f722c0a859404 (diff)
- archive.dll now supports querying the crc value of files
- esptk now determines if a esp is a dummy (without records) - hook.dll no longer creates a log file if noone wrote to it - nexus id and installtime columns are now hidden by default - modlist can now be refreshed without saving first (so plugins can replace the modlist.txt as a whole) - plugins can now query more details about virtualised files - added style options "plastique" and "cleanlooks" - "overwrite" is no longer listed with a creation time - a warning will now be displayed if the user has too many plugins active - a warning will now be displayed if mods with scripts have an installation order that doesn't match the corresponding esp load order - nmm importer now has select all/deselect all buttons - nmm importer no longer tries to unpack missing files from archives (won't work anyway) - initial support for importing from nmm 0.5 alpha - removed some broken warning suppresions - python runner now works with bundled python - extended qbs build system (still fails to build the main gui application) - implemented a nsis-based installer
Diffstat (limited to 'src/modlist.cpp')
-rw-r--r--src/modlist.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp
index eac02372..b35d6ad2 100644
--- a/src/modlist.cpp
+++ b/src/modlist.cpp
@@ -186,7 +186,12 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const
return QVariant();
}
} else if (column == COL_INSTALLTIME) {
- return modInfo->creationTime();
+ // display installation time for mods that can be updated
+ if (modInfo->canBeUpdated()) {
+ return modInfo->creationTime();
+ } else {
+ return QVariant();
+ }
} else {
return tr("invalid");
}