浏览代码

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