Update FileView.cpp

This commit is contained in:
DavidXanatos 2022-08-16 18:35:16 +02:00
parent 65fd7833bd
commit 4fc9291b01
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ CFileView::CFileView(QWidget *parent)
m_pFileModel = new QFileSystemModel(this);
m_pFileModel->setFilter(QDir::NoDotAndDotDot | QDir::AllDirs | QDir::Files | QDir::Hidden | QDir::System);
m_pTreeView->setModel(m_pFileModel);
m_pTreeView->setSortingEnabled(true);
m_pTreeView->setSelectionMode(QAbstractItemView::ExtendedSelection);
QStyle* pStyle = QStyleFactory::create("windows");