mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix build breakage
Introduced in commit 31462f150dff ("We already have a QNetworkAcessManager global, use it"). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7a682770ef
commit
6a8768ee26
4 changed files with 5 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue