From 8f575b4dd95f2034bae489e34112456d17fc4d5b Mon Sep 17 00:00:00 2001 From: q5sys Date: Fri, 16 Jun 2017 16:07:11 -0400 Subject: set properties for treeview --- src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src-qt5/desktop-utils/lumina-fm') diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp index 23269ec2..08eb572d 100644 --- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp +++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp @@ -74,6 +74,12 @@ dirtreeModel->setRootPath(folderTreePath); ui->folderViewPane->setModel(dirtreeModel); ui->splitter->setSizes( QList() << this->width()/3 << 2*this->width()/3); + ui->folderViewPane->setHeaderHidden(true); + ui->folderViewPane->resizeColumnToContents(0); + ui->folderViewPane->setColumnHidden(1, true); + ui->folderViewPane->setColumnHidden(2, true); + ui->folderViewPane->setColumnHidden(3, true); + //---------------------------------------------------// //Now update the rest of the UI -- cgit