aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/diveshareexportdialog.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-26 09:49:47 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-26 09:51:58 -0800
commit6a8768ee262aa3debfe8868fa7a5da13e0ba3a3b (patch)
tree8614bbacbd71b1e38230b93d384665fd62bdb15d /desktop-widgets/diveshareexportdialog.cpp
parent7a682770ef5cd1d314771cde216194ff0a6d40fb (diff)
downloadsubsurface-6a8768ee262aa3debfe8868fa7a5da13e0ba3a3b.tar.gz
Fix build breakage
Introduced in commit 31462f150dff ("We already have a QNetworkAcessManager global, use it"). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/diveshareexportdialog.cpp')
-rw-r--r--desktop-widgets/diveshareexportdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/diveshareexportdialog.cpp b/desktop-widgets/diveshareexportdialog.cpp
index 435f5366e..c6a7771d8 100644
--- a/desktop-widgets/diveshareexportdialog.cpp
+++ b/desktop-widgets/diveshareexportdialog.cpp
@@ -4,6 +4,7 @@
#include "save-html.h"
#include "subsurfacewebservices.h"
#include "helpers.h"
+#include "subsurface-core/cloudstorage.h"
#include <QDesktopServices>
#include <QSettings>
@@ -135,7 +136,7 @@ void DiveShareExportDialog::doUpload()
if (ui->txtUID->text().length() != 0)
request.setRawHeader("X-UID", ui->txtUID->text().toUtf8());
- reply = WebServices::manager()->put(request, json_data);
+ reply = manager()->put(request, json_data);
QObject::connect(reply, SIGNAL(finished()), this, SLOT(finishedSlot()));
}