diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-05-24 13:27:40 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-05-24 13:27:40 +0200 |
| commit | 9fb639a00e1a809a9ea9b5e68777ec46f534761c (patch) | |
| tree | 9f72cebe6ba9825a0330fefe60a0b55de2392a2e /src/modlist.cpp | |
| parent | 08ae9db2fd2a07acb2433275fc84c2ca47267a92 (diff) | |
Update ModInfo to use a single file tree for all content-related operations.
Diffstat (limited to 'src/modlist.cpp')
| -rw-r--r-- | src/modlist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp index ea4aa2e3..e8c14434 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -849,7 +849,7 @@ void ModList::modInfoChanged(ModInfo::Ptr info) } int row = ModInfo::getIndex(info->name()); - info->testValid(); + info->diskContentModified(); emit aboutToChangeData(); emit dataChanged(index(row, 0), index(row, columnCount())); emit postDataChanged(); @@ -1076,7 +1076,7 @@ bool ModList::dropURLs(const QMimeData *mimeData, int row, const QModelIndex &pa } if (!modInfo->isValid()) { - modInfo->testValid(); + modInfo->diskContentModified(); } return true; |
