Skip to content

Commit

Permalink
Merge pull request #1243 from Trial97/export
Browse files Browse the repository at this point in the history
Added regex expresion to exclude .DS_Store files
  • Loading branch information
Scrumplex committed Jul 16, 2023
1 parent b1fe4d1 commit 8b017f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions launcher/ui/dialogs/ExportMrPackDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8b017f9

Please sign in to comment.