aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/messagehandlermodel.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-08-14 13:03:33 -0400
committerGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-08-14 13:03:33 -0400
commitfb47c15cd81970f19aeb9777c4c576b973889674 (patch)
tree23845588c6fe9fcb09bc7f46e06ae24fe5882a2f /qt-models/messagehandlermodel.cpp
parent612f1b478f785331504fc4a22c1546536d2f345f (diff)
downloadsubsurface-fb47c15cd81970f19aeb9777c4c576b973889674.tar.gz
Filter: remove unused parameters from doFilter functions
Change the signature from of the virtual doFilter() functions from bool doFilter(struct dive *d, QModelIndex&, QAbstractItemModel*) const; to bool LocationFilterModel::doFilter(struct dive *d) const; as the QModelIndex and QAbstractItemModel parameters were not used. This makes this functions independent from Qt's model/view framework. This is in preparation for making the undo-machinery compatible with the filtering. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/messagehandlermodel.cpp')
0 files changed, 0 insertions, 0 deletions