Преглед изворни кода

_accessManager is already initialized in the ctor

Daniel Molkentin пре 13 година
родитељ
комит
19a4f8fc64
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      src/mirall/updatedetector.cpp

+ 0 - 1
src/mirall/updatedetector.cpp

@@ -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"));