diff options
Diffstat (limited to 'qt-ui/locationinformation.h')
-rw-r--r-- | qt-ui/locationinformation.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/locationinformation.h b/qt-ui/locationinformation.h index 2193b8cdf..0d1a995dd 100644 --- a/qt-ui/locationinformation.h +++ b/qt-ui/locationinformation.h @@ -72,6 +72,10 @@ class DiveLocationListView : public QListView { Q_OBJECT public: DiveLocationListView(QWidget *parent = 0); +protected: + virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); +signals: + void currentIndexChanged(const QModelIndex& current); }; class DiveLocationLineEdit : public QLineEdit { @@ -90,6 +94,7 @@ public: signals: void diveSiteSelected(uint32_t uuid); void entered(const QModelIndex& index); + void currentChanged(const QModelIndex& index); protected: void keyPressEvent(QKeyEvent *ev); |