summaryrefslogtreecommitdiffstats
path: root/filesystemfileproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'filesystemfileproxy.h')
-rw-r--r--filesystemfileproxy.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/filesystemfileproxy.h b/filesystemfileproxy.h
index 9f9609b..a7b5e18 100644
--- a/filesystemfileproxy.h
+++ b/filesystemfileproxy.h
@@ -18,7 +18,10 @@ class FilesystemFileProxy : public QSortFilterProxyModel {
public:
FilesystemFileProxy(QObject *parent = 0);
~FilesystemFileProxy() {};
- bool lessThan(const QModelIndex &left, const QModelIndex &right) const;
+ virtual QVariant data(const QModelIndex &index, int role) const;
+
+ protected:
+ virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const;
};
#endif