From db95f01cdb220842e031030df86ee56724e72f27 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 22 Mar 2013 04:14:56 +0100 Subject: Remember selections on FileModel reset Since can reset the FileView through a time, remember the selections on reset and restore them after. The Timer is stopped when an item is being edited. --- smdirmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smdirmodel.h') diff --git a/smdirmodel.h b/smdirmodel.h index 9c311e0..e33392f 100644 --- a/smdirmodel.h +++ b/smdirmodel.h @@ -33,7 +33,7 @@ class SmDirModel : public SmTreeModel { bool isDir(const QModelIndex &idx) const; QDir dir() const; QFileInfo fileInfo(const QModelIndex &idx) const; - + QTimer *refresTimer() { return mRefreshTimer; } public slots: void setDir(const QString &dir); -- cgit v1.2.3-70-g09d2