Просмотр исходного кода

_accessManager is already initialized in the ctor

Daniel Molkentin 13 лет назад
Родитель
Сommit
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"));