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>
This commit is contained in:
Tomaz Canabrava 2015-03-09 15:22:52 -03:00 committed by Dirk Hohndel
parent 6fbf5b33cc
commit 30c5a027ca
2 changed files with 20 additions and 2 deletions

View file

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