summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-10 11:35:05 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-10 11:35:05 -0700
commitb81647bd8a532c6a9c7ac5df0c9051174f32df4f (patch)
tree390024d5da9e9db5a5be79f051e81c60bccb41c7 /qt-ui/simplewidgets.h
parentca64f8a7827722212679e8af355b1000c48338c6 (diff)
downloadsubsurface-b81647bd8a532c6a9c7ac5df0c9051174f32df4f.tar.gz
Change the diveSiteMessage to show close or accept/reject
This gives us consistent behavior and allows closing the dive site management screen without editing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r--qt-ui/simplewidgets.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index 613fb6480..75b1df402 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -246,6 +246,7 @@ private:
struct dive_site *currentDs;
Ui::LocationInformation ui;
bool modified;
+ QAction *closeAction, *acceptAction, *rejectAction;
};
bool isGnome3Session();