summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/subsurfacewebservices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.cpp')
-rw-r--r--desktop-widgets/subsurfacewebservices.cpp15
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;
-}