potential fix for PyQgsAppStartup by avoiding cloudflare

This commit is contained in:
Juergen E. Fischer 2016-01-23 22:40:31 +01:00
parent 88a9f99a5d
commit 764c649842

View File

@ -28,7 +28,7 @@ QgsVersionInfo::QgsVersionInfo( QObject *parent )
void QgsVersionInfo::checkVersion() void QgsVersionInfo::checkVersion()
{ {
QNetworkReply *reply = QgsNetworkAccessManager::instance()->get( QNetworkRequest( QUrl( "https://qgis.org/version.txt" ) ) ); QNetworkReply *reply = QgsNetworkAccessManager::instance()->get( QNetworkRequest( QUrl( "https://ubuntu.qgis.org/version.txt" ) ) );
connect( reply, SIGNAL( finished() ), this, SLOT( versionReplyFinished() ) ); connect( reply, SIGNAL( finished() ), this, SLOT( versionReplyFinished() ) );
} }