diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-09-21 17:18:52 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-23 14:15:22 -0700 |
commit | 317c3de91d6218244c58cee414d11e9f90c100ff (patch) | |
tree | f3c0e22e7e482b5e15d38b984ad2c283fbbc82f7 /qt-ui/locationinformation.h | |
parent | 534e07399ac459a48d6e049d1ff36cef223eea66 (diff) | |
download | subsurface-317c3de91d6218244c58cee414d11e9f90c100ff.tar.gz |
Handle dive site activation
Connect the view activated signal to send us the index.
Removing debug output that I forgot inside it.
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 a1649d645..b52c03a9a 100644 --- a/qt-ui/locationinformation.h +++ b/qt-ui/locationinformation.h @@ -94,6 +94,7 @@ public: void refreshDiveSiteCache(); void setTemporaryDiveSiteName(const QString& s); bool eventFilter(QObject*, QEvent*); + void itemActivated(const QModelIndex& index); protected: void keyPressEvent(QKeyEvent *ev); void showPopup(); |