diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-09-23 14:46:29 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-23 14:15:23 -0700 |
commit | e4c0ee32cdcd8487dd88e40fef3ba5de6fa92704 (patch) | |
tree | 5c7e917ad6218ee09de154526eb69948c3b01f70 /qt-ui/locationinformation.h | |
parent | 7d863b5c280c12d657fa46f909965071d5649ac5 (diff) | |
download | subsurface-e4c0ee32cdcd8487dd88e40fef3ba5de6fa92704.tar.gz |
Handle palette change for dive site selection
If you select a dive site with a different uuid than your
current dive.dive_site_uuid, you should get a different
pallete to state clearly that something changed.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/locationinformation.h b/qt-ui/locationinformation.h index 5085f83a2..db0d286ac 100644 --- a/qt-ui/locationinformation.h +++ b/qt-ui/locationinformation.h @@ -100,6 +100,9 @@ public: DiveSiteType currDiveSiteType() const; uint32_t currDiveSiteUuid() const; +signals: + void diveSiteSelected(uint32_t uuid); + protected: void keyPressEvent(QKeyEvent *ev); void focusOutEvent(QFocusEvent *ev); |