Merge pull request #1243 from Trial97/export
Added regex expresion to exclude .DS_Store files
This commit is contained in:
commit
05a8232a8f
@ -53,6 +53,7 @@ ExportMrPackDialog::ExportMrPackDialog(InstancePtr instance, QWidget* parent)
|
||||
const QDir root(instance->gameRoot());
|
||||
proxy = new FileIgnoreProxy(instance->gameRoot(), this);
|
||||
proxy->setSourceModel(model);
|
||||
proxy->setFilterRegularExpression("^(?!\\.DS_Store).+$");
|
||||
|
||||
const QDir::Filters filter(QDir::AllEntries | QDir::NoDotAndDotDot | QDir::AllDirs | QDir::Hidden);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user