NOISSUE show hidden files in instance export dialog (like .minecraft)

This commit is contained in:
Petr Mrázek 2017-10-28 21:44:29 +02:00
parent 3eebc641f9
commit a87d96349a

View File

@ -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);