summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/updatemanager.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/updatemanager.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/updatemanager.cpp')
-rw-r--r--desktop-widgets/updatemanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/updatemanager.cpp b/desktop-widgets/updatemanager.cpp
index 2ab92b3a5..daa65e007 100644
--- a/desktop-widgets/updatemanager.cpp
+++ b/desktop-widgets/updatemanager.cpp
@@ -7,6 +7,7 @@
#include "subsurfacewebservices.h"
#include "version.h"
#include "mainwindow.h"
+#include "subsurface-core/cloudstorage.h"
UpdateManager::UpdateManager(QObject *parent) :
QObject(parent),
@@ -58,7 +59,7 @@ void UpdateManager::checkForUpdates(bool automatic)
request.setRawHeader("Accept", "text/xml");
QString userAgent = getUserAgent();
request.setRawHeader("User-Agent", userAgent.toUtf8());
- connect(SubsurfaceWebServices::manager()->get(request), SIGNAL(finished()), this, SLOT(requestReceived()), Qt::UniqueConnection);
+ connect(manager()->get(request), SIGNAL(finished()), this, SLOT(requestReceived()), Qt::UniqueConnection);
}
void UpdateManager::requestReceived()