From 7bda040f35c6be15dbf1ba007de28849a0803cae Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 16 Mar 2013 16:13:05 +0100 Subject: First shot at SmDirModel Gotta take a break here. Hopefully this will end up in a custom QFilesystemModel, but I'm hitting so many bugs on the way. Some things haven't worked for ages, I guess. Anyway, the watcher doesn't do anythying right now, still fixing bugs... --- filesystemfileproxy.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'filesystemfileproxy.h') diff --git a/filesystemfileproxy.h b/filesystemfileproxy.h index 739305d..e829158 100644 --- a/filesystemfileproxy.h +++ b/filesystemfileproxy.h @@ -18,8 +18,7 @@ class FilesystemFileProxy : public QSortFilterProxyModel { public: FilesystemFileProxy(QObject *parent = 0); ~FilesystemFileProxy() {}; - virtual QVariant data(const QModelIndex &index, int role) const; - virtual bool filterAcceptsRow(int sourcerow, const QModelIndex &source_parent) const; + virtual QVariant data(const QModelIndex &index, int role) const; protected: virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const; -- cgit v1.2.3-70-g09d2