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/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b5beb229..cc681dba 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -3062,7 +3062,7 @@ void MainWindow::ignoreMissingData_clicked() int row_idx = idx.data(Qt::UserRole + 1).toInt(); ModInfo::Ptr info = ModInfo::getByIndex(row_idx); //QDir(info->absolutePath()).mkdir("textures"); - info->testValid(); + info->diskContentModified(); info->markValidated(true); connect(this, SIGNAL(modListDataChanged(QModelIndex, QModelIndex)), m_OrganizerCore.modList(), SIGNAL(dataChanged(QModelIndex, QModelIndex))); @@ -3071,7 +3071,7 @@ void MainWindow::ignoreMissingData_clicked() } else { ModInfo::Ptr info = ModInfo::getByIndex(m_ContextRow); //QDir(info->absolutePath()).mkdir("textures"); - info->testValid(); + info->diskContentModified(); info->markValidated(true); connect(this, SIGNAL(modListDataChanged(QModelIndex, QModelIndex)), m_OrganizerCore.modList(), SIGNAL(dataChanged(QModelIndex, QModelIndex))); -- cgit v1.3.1