Better variable name :p

Signed-off-by: Kode <TheKodeToad@proton.me>
This commit is contained in:
Kode 2023-05-15 19:15:56 +01:00 committed by GitHub
parent 22aaf56855
commit 3be18b58bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,9 +53,9 @@ ExportMrPackDialog::ExportMrPackDialog(InstancePtr instance, QWidget* parent)
MinecraftInstance* mcInstance = dynamic_cast<MinecraftInstance*>(instance.get());
if (mcInstance) {
const QDir dir = mcInstance->loaderModList()->indexDir();
if (dir.exists())
proxy->blockedPaths().insert(root.relativeFilePath(dir.absolutePath()));
const QDir index = mcInstance->loaderModList()->indexDir();
if (index.exists())
proxy->blockedPaths().insert(root.relativeFilePath(index.absolutePath()));
}
ui->treeView->setModel(proxy);