summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-13 10:56:46 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-13 14:03:51 -0700
commitcdd3b3d9cd5439cd56fb752e56a72045bed55f90 (patch)
tree76042136d2c7d68b1109ec45649970ad6e4a1dc6 /qt-ui/mainwindow.h
parent64236388e467dd149d285accdee74897a2a7c5a1 (diff)
downloadsubsurface-cdd3b3d9cd5439cd56fb752e56a72045bed55f90.tar.gz
Start a user survey dialog
The idea is that a week after the user starts using Subsurface we ask them if they would like to submit a survey response. If you are running a development build, don't wait seven days. This patch doesn't do anything with the user's selections, doesn't submit anything to our server, etc. It's just a placeholder to tune what we should ask, etc. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 828c628d7..cfac072d2 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -79,6 +79,7 @@ public:
bool filesFromCommandLine() const;
void setPlanNotes(const char *notes);
void printPlan();
+ void checkSurvey(QSettings *s);
private
slots:
/* file menu action */
@@ -184,6 +185,7 @@ private:
bool plannerStateClean();
void createFakeDiveForAddAndPlan();
int fakeDiveId;
+ QDialog *survey;
};
#endif // MAINWINDOW_H