diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-12-19 19:01:13 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-04 03:33:18 -0500 |
| commit | a7051df5da4139661169f227861b712453e7b8b0 (patch) | |
| tree | 43b0bf72d4bf1be6d6f1d12880a92545a5fa433f /src/datatab.cpp | |
| parent | e0c605be1d32b74b14da18cc7de4a66a4f6f3ecb (diff) | |
split item and model
Diffstat (limited to 'src/datatab.cpp')
| -rw-r--r-- | src/datatab.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datatab.cpp b/src/datatab.cpp index 7e60ca0f..95c4eca3 100644 --- a/src/datatab.cpp +++ b/src/datatab.cpp @@ -5,6 +5,7 @@ #include "directoryentry.h" #include "messagedialog.h" #include "filetree.h" +#include "filetreemodel.h" #include <log.h> #include <report.h> @@ -162,6 +163,6 @@ void DataTab::updateOptions() flags |= FileTreeModel::Archives; } - m_filetree->setFlags(flags); + m_filetree->model()->setFlags(flags); refreshDataTree(); } |
