diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-04-19 12:39:59 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-19 14:27:54 -0700 |
commit | ad66297cfd843199f39e3a231cb8311652ea183c (patch) | |
tree | fedc6cf6422fa120de30c570f3b9a7a1224242de /desktop-widgets/subsurfacewebservices.cpp | |
parent | 4fd4b75269469ee1029c51bdaf8275149d20a929 (diff) | |
download | subsurface-ad66297cfd843199f39e3a231cb8311652ea183c.tar.gz |
desktop: remove user survey
We have never made good use of the results. Let's just remove it.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.cpp')
-rw-r--r-- | desktop-widgets/subsurfacewebservices.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp index 80a17af2a..d016a9dc6 100644 --- a/desktop-widgets/subsurfacewebservices.cpp +++ b/desktop-widgets/subsurfacewebservices.cpp @@ -4,7 +4,6 @@ #include "core/webservice.h" #include "core/settings/qPrefCloudStorage.h" #include "desktop-widgets/mainwindow.h" -#include "desktop-widgets/usersurvey.h" #include "commands/command.h" #include "core/trip.h" #include "core/errorhelper.h" @@ -478,17 +477,3 @@ void DivelogsDeWebServices::buttonClicked(QAbstractButton *button) break; } } - -UserSurveyServices::UserSurveyServices(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f) -{ -} - -QNetworkReply *UserSurveyServices::sendSurvey(QString values) -{ - QNetworkRequest request; - request.setUrl(QString("http://subsurface-divelog.org/survey?%1").arg(values)); - request.setRawHeader("Accept", "text/xml"); - request.setRawHeader("User-Agent", getUserAgent().toUtf8()); - QNetworkReply *reply = manager()->get(request); - return reply; -} |