diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-10-28 21:44:29 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-10-28 21:44:29 +0200 |
commit | a87d96349a5b903f81f71c7718c65da9790d14e2 (patch) | |
tree | 86652dc5dab653b8e59f265e620751ed2eb3d633 | |
parent | 3eebc641f9cd5d27431c610adee1ab5d00e9371f (diff) | |
download | MultiMC-a87d96349a5b903f81f71c7718c65da9790d14e2.tar MultiMC-a87d96349a5b903f81f71c7718c65da9790d14e2.tar.gz MultiMC-a87d96349a5b903f81f71c7718c65da9790d14e2.tar.lz MultiMC-a87d96349a5b903f81f71c7718c65da9790d14e2.tar.xz MultiMC-a87d96349a5b903f81f71c7718c65da9790d14e2.zip |
NOISSUE show hidden files in instance export dialog (like .minecraft)
-rw-r--r-- | application/dialogs/ExportInstanceDialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/dialogs/ExportInstanceDialog.cpp b/application/dialogs/ExportInstanceDialog.cpp index be859994..caa15c48 100644 --- a/application/dialogs/ExportInstanceDialog.cpp +++ b/application/dialogs/ExportInstanceDialog.cpp @@ -324,6 +324,7 @@ ExportInstanceDialog::ExportInstanceDialog(InstancePtr instance, QWidget *parent connect(proxyModel, SIGNAL(rowsInserted(QModelIndex,int,int)), SLOT(rowsInserted(QModelIndex,int,int))); + model->setFilter(QDir::AllEntries | QDir::NoDotAndDotDot | QDir::AllDirs | QDir::Hidden); model->setRootPath(root); auto headerView = ui->treeView->header(); headerView->setSectionResizeMode(QHeaderView::ResizeToContents); |