summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-05-31 09:37:45 +0200
committerPetr Mrázek <peterix@gmail.com>2017-05-31 09:37:45 +0200
commit2973b11d3edf47fe437af4dd1dc1a5f250c49ba3 (patch)
tree61a2dd644424d5a837d96675453d179f7eed05dc /application
parent8a1da912191a241f4c211bb66699e9679c047b43 (diff)
downloadMultiMC-2973b11d3edf47fe437af4dd1dc1a5f250c49ba3.tar
MultiMC-2973b11d3edf47fe437af4dd1dc1a5f250c49ba3.tar.gz
MultiMC-2973b11d3edf47fe437af4dd1dc1a5f250c49ba3.tar.lz
MultiMC-2973b11d3edf47fe437af4dd1dc1a5f250c49ba3.tar.xz
MultiMC-2973b11d3edf47fe437af4dd1dc1a5f250c49ba3.zip
NOISSUE instance export filter should use covers, not contains
Diffstat (limited to 'application')
-rw-r--r--application/dialogs/ExportInstanceDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/dialogs/ExportInstanceDialog.cpp b/application/dialogs/ExportInstanceDialog.cpp
index 8e488b3f..be859994 100644
--- a/application/dialogs/ExportInstanceDialog.cpp
+++ b/application/dialogs/ExportInstanceDialog.cpp
@@ -407,7 +407,7 @@ bool ExportInstanceDialog::doExport()
auto & blocked = proxyModel->blockedPaths();
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"));
return false;