From 8e3a360cd427f0f653846a0afc627a39cbf16276 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Mon, 20 Jan 2020 15:24:04 -0500 Subject: implemented fetchMore() and update for subdirectories don't refresh tree on active, it's taken care of by fetchMore() --- src/filetreemodel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/filetreemodel.h') diff --git a/src/filetreemodel.h b/src/filetreemodel.h index c2f7d8cf..af24c70d 100644 --- a/src/filetreemodel.h +++ b/src/filetreemodel.h @@ -38,6 +38,7 @@ public: int columnCount(const QModelIndex& parent={}) const override; bool hasChildren(const QModelIndex& parent={}) const override; bool canFetchMore(const QModelIndex& parent) const override; + void fetchMore(const QModelIndex& parent) override; QVariant data(const QModelIndex& index, int role=Qt::DisplayRole) const override; QVariant headerData(int i, Qt::Orientation ori, int role=Qt::DisplayRole) const override; Qt::ItemFlags flags(const QModelIndex& index) const override; -- cgit v1.3.1