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>
This commit is contained in:
Tomaz Canabrava 2015-09-21 17:18:52 -03:00 committed by Dirk Hohndel
parent 534e07399a
commit 317c3de91d
2 changed files with 7 additions and 2 deletions

View file

@ -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();