NOISSUE instance export filter should use covers, not contains
This commit is contained in:
		| @@ -407,7 +407,7 @@ bool ExportInstanceDialog::doExport() | |||||||
|  |  | ||||||
| 	auto & blocked = proxyModel->blockedPaths(); | 	auto & blocked = proxyModel->blockedPaths(); | ||||||
| 	using std::placeholders::_1; | 	using std::placeholders::_1; | ||||||
| 	if (!JlCompress::compressDir(output, m_instance->instanceRoot(), name, std::bind(&SeparatorPrefixTree<'/'>::contains, blocked, _1))) | 	if (!JlCompress::compressDir(output, m_instance->instanceRoot(), name, std::bind(&SeparatorPrefixTree<'/'>::covers, blocked, _1))) | ||||||
| 	{ | 	{ | ||||||
| 		QMessageBox::warning(this, tr("Error"), tr("Unable to export instance")); | 		QMessageBox::warning(this, tr("Error"), tr("Unable to export instance")); | ||||||
| 		return false; | 		return false; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Petr Mrázek
					Petr Mrázek