diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-03-09 15:22:52 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-10 07:47:05 -0700 |
commit | 30c5a027caad423fdfba47912bc97ecdc091f3f1 (patch) | |
tree | e9373973144a18ec9dd3cd6e03411aeb1b7c15b7 /qt-ui/simplewidgets.h | |
parent | 6fbf5b33ccafd1c404162029ac60e8446c36a77e (diff) | |
download | subsurface-30c5a027caad423fdfba47912bc97ecdc091f3f1.tar.gz |
Clone a bit of code to mark the Location Widget changed
This code is the same that is used on the MainTab, but
since they are different objects, I can't just call it.
so I'm duplicating them for the time being.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r-- | qt-ui/simplewidgets.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h index d0cb60508..f9e4b466d 100644 --- a/qt-ui/simplewidgets.h +++ b/qt-ui/simplewidgets.h @@ -230,13 +230,15 @@ public slots: void setLocationId(uint32_t uuid); void updateGpsCoordinates(void); - + void markChangedWidget(QWidget *w); + void enableEdition(); signals: void informationManagementEnded(); private: struct dive_site *currentDs; Ui::LocationInformation ui; + bool modified; }; bool isGnome3Session(); |