summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-20 12:08:22 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-10-21 19:57:49 +0300
commit6ed5db4d51e3852916db64f2220004dbd04847fc (patch)
treecab2ff5b7298b4097668832fd69e4e6c6cdd5c59 /mobile-widgets/qml
parent9829e49815de1b81b5c9848b71eaa810faab2bcf (diff)
downloadsubsurface-6ed5db4d51e3852916db64f2220004dbd04847fc.tar.gz
Dive list: remove three unnecessary instances of qobject_cast<>.
In DiveListView, the result of model() was dynamically cast to QSortFilterProxyModel. But then, only the virtual match() function was used. The whole point of virtual functions is that you can cast them on the base-class and it will execute the function of the derived class. Thus, remove these casts and operate directly on the QAbstractItemModel base class. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qml')
0 files changed, 0 insertions, 0 deletions