Better variable name :p
Signed-off-by: Kode <TheKodeToad@proton.me>
This commit is contained in:
parent
22aaf56855
commit
3be18b58bb
@ -53,9 +53,9 @@ ExportMrPackDialog::ExportMrPackDialog(InstancePtr instance, QWidget* parent)
|
|||||||
|
|
||||||
MinecraftInstance* mcInstance = dynamic_cast<MinecraftInstance*>(instance.get());
|
MinecraftInstance* mcInstance = dynamic_cast<MinecraftInstance*>(instance.get());
|
||||||
if (mcInstance) {
|
if (mcInstance) {
|
||||||
const QDir dir = mcInstance->loaderModList()->indexDir();
|
const QDir index = mcInstance->loaderModList()->indexDir();
|
||||||
if (dir.exists())
|
if (index.exists())
|
||||||
proxy->blockedPaths().insert(root.relativeFilePath(dir.absolutePath()));
|
proxy->blockedPaths().insert(root.relativeFilePath(index.absolutePath()));
|
||||||
}
|
}
|
||||||
|
|
||||||
ui->treeView->setModel(proxy);
|
ui->treeView->setModel(proxy);
|
||||||
|
Loading…
Reference in New Issue
Block a user