diff options
author | q5sys <jt@obs-sec.com> | 2017-06-16 16:07:11 -0400 |
---|---|---|
committer | q5sys <jt@obs-sec.com> | 2017-06-16 16:07:11 -0400 |
commit | 8f575b4dd95f2034bae489e34112456d17fc4d5b (patch) | |
tree | 0c554f57cb4b82255b1468fc6fdcd4fe2794de11 /src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-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.cpp | 6 |
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 |