Skip to content

Commit

Permalink
Fix bug when downloading extra stars catalogues
Browse files Browse the repository at this point in the history
The data read connection was missing.
  • Loading branch information
guillaumechereau committed Aug 20, 2018
1 parent 9a01389 commit f5fb45d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/ConfigurationDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,7 @@ void ConfigurationDialog::downloadStars()
req.setRawHeader("User-Agent", StelUtils::getUserAgentString().toLatin1());
starCatalogDownloadReply = StelApp::getInstance().getNetworkAccessManager()->get(req);
starCatalogDownloadReply->setReadBufferSize(1024*1024*2);
connect(starCatalogDownloadReply, SIGNAL(readyRead()), this, SLOT(newStarCatalogData()));
connect(starCatalogDownloadReply, SIGNAL(finished()), this, SLOT(downloadFinished()));
connect(starCatalogDownloadReply, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(downloadError(QNetworkReply::NetworkError)));

Expand Down

0 comments on commit f5fb45d

Please sign in to comment.