diff options
author | q5sys <jt@xsystems.com> | 2018-03-29 13:11:20 -0400 |
---|---|---|
committer | q5sys <jt@xsystems.com> | 2018-03-29 13:11:20 -0400 |
commit | a8cf372fe539a3a1d9b32424f8e92eb72a0a921d (patch) | |
tree | 2f0ea313917ce051d141b92821b6e52750c8f350 /src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp | |
parent | ltreewidget.h (diff) | |
download | lumina-a8cf372fe539a3a1d9b32424f8e92eb72a0a921d.tar.gz lumina-a8cf372fe539a3a1d9b32424f8e92eb72a0a921d.tar.bz2 lumina-a8cf372fe539a3a1d9b32424f8e92eb72a0a921d.zip |
add sort by menu
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 ce5dfd81..9471e297 100644 --- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp +++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp @@ -156,6 +156,12 @@ void DirWidget::setThumbnailSize(int px){ ui->tool_zoom_out->setEnabled(px >16); //lower limit on image sizes } +void DirWidget::setTreeSortMode(int num){ + bool now = true; + BW->setTreeWidgetSortColumn(num, now); + if(RCBW!=0){ RCBW->setTreeWidgetSortColumn(num, now ); } +} + //==================== // Folder Pane //==================== |