mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
_accessManager is already initialized in the ctor
This commit is contained in:
parent
a8d6c083e3
commit
19a4f8fc64
@ -32,7 +32,6 @@ UpdateDetector::UpdateDetector(QObject *parent) :
|
||||
|
||||
void UpdateDetector::versionCheck( Theme *theme )
|
||||
{
|
||||
_accessManager = new QNetworkAccessManager(this);
|
||||
connect(_accessManager, SIGNAL(finished(QNetworkReply*)), this,
|
||||
SLOT(slotVersionInfoArrived(QNetworkReply*)) );
|
||||
QUrl url(QLatin1String("http://download.owncloud.com/clientupdater.php"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user