diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-09-21 15:04:52 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-23 14:15:19 -0700 |
commit | 8c9a4ecd4b06d62b8b2b6b5a36e025aa84521ec7 (patch) | |
tree | a9b796be9d05b15130243591c6aba56f24a007df /qt-ui/locationinformation.h | |
parent | be6e190bd2b0480d76fc29bed95d46ad1aa7f414 (diff) | |
download | subsurface-8c9a4ecd4b06d62b8b2b6b5a36e025aa84521ec7.tar.gz |
Stabilize the location model/proxy model
Since I removed the old location edit from the UI, I also need to
remove a bit of code from the UI that was calling it.
fix a few crashes regarding the old location edit.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationinformation.h')
-rw-r--r-- | qt-ui/locationinformation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/locationinformation.h b/qt-ui/locationinformation.h index 18c3dc760..16d5a3eae 100644 --- a/qt-ui/locationinformation.h +++ b/qt-ui/locationinformation.h @@ -64,6 +64,7 @@ class DiveLocationFilterProxyModel : public QSortFilterProxyModel { public: DiveLocationFilterProxyModel(QObject *parent = 0); virtual bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const; + virtual bool lessThan(const QModelIndex& source_left, const QModelIndex& source_right) const; }; class DiveLocationModel : public QAbstractTableModel { |