diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-05-25 17:50:49 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-05-25 17:50:49 +0200 |
| commit | e7afedaebee928ac64bc009f7019117b1cae0b69 (patch) | |
| tree | 7f02bf8253476c5ddd6f6449c9571ca0992e53db | |
| parent | 238e233c18d22d01e966efaa86975f5f37bb7fa2 (diff) | |
Remove useless calls to diskContentModified().
| -rw-r--r-- | src/mainwindow.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index cc681dba..de4a6b39 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -3061,8 +3061,6 @@ void MainWindow::ignoreMissingData_clicked() for (QModelIndex idx : selection->selectedRows()) { int row_idx = idx.data(Qt::UserRole + 1).toInt(); ModInfo::Ptr info = ModInfo::getByIndex(row_idx); - //QDir(info->absolutePath()).mkdir("textures"); - info->diskContentModified(); info->markValidated(true); connect(this, SIGNAL(modListDataChanged(QModelIndex, QModelIndex)), m_OrganizerCore.modList(), SIGNAL(dataChanged(QModelIndex, QModelIndex))); @@ -3070,8 +3068,6 @@ void MainWindow::ignoreMissingData_clicked() } } else { ModInfo::Ptr info = ModInfo::getByIndex(m_ContextRow); - //QDir(info->absolutePath()).mkdir("textures"); - info->diskContentModified(); info->markValidated(true); connect(this, SIGNAL(modListDataChanged(QModelIndex, QModelIndex)), m_OrganizerCore.modList(), SIGNAL(dataChanged(QModelIndex, QModelIndex))); |
