aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2017-06-16 16:07:11 -0400
committerq5sys <jt@obs-sec.com>2017-06-16 16:07:11 -0400
commit8f575b4dd95f2034bae489e34112456d17fc4d5b (patch)
tree0c554f57cb4b82255b1468fc6fdcd4fe2794de11 /src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-8f575b4dd95f2034bae489e34112456d17fc4d5b.tar.gz
lumina-8f575b4dd95f2034bae489e34112456d17fc4d5b.tar.bz2
lumina-8f575b4dd95f2034bae489e34112456d17fc4d5b.zip
set properties for treeview
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp6
1 files changed, 6 insertions, 0 deletions
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<int>() << 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
bgstack15