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());
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user