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/mainwindow.cpp | |
| parent | 08ae9db2fd2a07acb2433275fc84c2ca47267a92 (diff) | |
Update ModInfo to use a single file tree for all content-related operations.
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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))); |
