From 9fb639a00e1a809a9ea9b5e68777ec46f534761c Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Sun, 24 May 2020 13:27:40 +0200 Subject: Update ModInfo to use a single file tree for all content-related operations. --- src/modlist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modlist.cpp') 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; -- cgit v1.3.1