From ad66297cfd843199f39e3a231cb8311652ea183c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 19 Apr 2020 12:39:59 -0700 Subject: desktop: remove user survey We have never made good use of the results. Let's just remove it. Signed-off-by: Dirk Hohndel --- desktop-widgets/subsurfacewebservices.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'desktop-widgets/subsurfacewebservices.cpp') 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; -} -- cgit v1.2.3-70-g09d2